Just an FYI in case it helps someone else, there was a previous post that was closed located at:
https://forum.manager.io/t/capital-gain-on-investment-is-not-calculated/43865
Harry_Shen in Nov '22 wrote:
it seems a bug, Capital gain on investment is not calculated after sale the investment when a investment is belong to a investment CONTROL ACCOUNT. it will calculate the capital gain if you remove the investment item from control account.
It was then marked:
Solved by lubos:
Should be fixed in the latest version (23.3.15.706)
Just an FYI, as of version 23.8.1.930 the bug still remains. However, I have a workaround if you are experiencing this problem. In the “Investment” tab, click “New Investment”, name it “Bug Placeholder” (or whatever you want), leave the “Control account” field blank and everything else blank. Save it. That should fix it. It appears that you just need SOMETHING to generate the top level “Investments” account… which can then generate the Control Accounts underneath it.