GNOME Bugzilla – Bug 356077
Balance Sheet ... doesn't.
Last modified: 2018-06-29 21:12:53 UTC
Please describe the problem: The balance sheet is out of balance. If I hold the same stock in two different accounts, transactions in one affect the apparent unrealized value of the other, so that when I sell, the balance sheet shows an incorrect amount for "unrealized gains." Steps to reproduce: 1. Create two accounts that hold the same stock. 2. Enter a buy transaction in Acct1 3. At a later date, enter a buy transaction in Acct2, at a different price. 4. At a still later date,enter a sell transaction in Acct1 for a loss, at a third price. 5. Create a balance sheet. Actual results: The balance sheet is incorrect.Assets != Liability + Equity. In particular, the "unrealized losses" is wrong. Expected results: I expect Assets = Liability + Equity, and that "unrealized losses" or "unrealized gains" is exactly what it needs to be to balance. Does this happen every time? Yes. Other information: Gosh, reporting stock buys and sales is really kludgy. Ideally, there'd be one entry for the sale in the stock account, and one entry for wherever the money goes. There really shouldn't be 4 lines to do a simple sale. (I'll try to attach the test case.)
Created attachment 72837 [details] A simple testcase that shows the balance sheet not balanced.
Thanks for reporting this bug. As for the test case: I guess to reproduce we should open the file in gnucash and open the default balance sheet report, right? In that case, could you please explain which numbers you would expect (instead of the ones shown)? Thanks. Related bugs: bug#91661 bug#131623 (maybe also bug#309863 ). Is this one a duplicate of any of these bugs?
*** This bug has been marked as a duplicate of 131623 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=356077. Please update any external references or bookmarks.