gnucash maint: [Bug 797520] Balance Sheet (Multicolumn) the retained earnings amount in the equity section has its sign reversed

Christopher Lam clam at code.gnucash.org
Mon Dec 9 06:21:43 EST 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/e40bee0f (commit)
	from  https://github.com/Gnucash/gnucash/commit/6266ca2f (commit)



commit e40bee0ff6ba884fa4d0dfd8c2a93a87124939ed
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Dec 9 18:20:57 2019 +0800

    [Bug 797520] Balance Sheet (Multicolumn) the retained earnings amount in the equity section has its sign reversed
    
    c21bb66d6 had a regression: income-expense-balances was originally
    negated, only to be negated again for use in retained-earnings-fn. The
    previous change forgot to negate income-expense-balances.
    
    This commit removes the negation before use of income-expense-balances
    in retained-earnings-fn, thereby simplifying code.



Summary of changes:
 gnucash/report/standard-reports/balsheet-pnl.scm        |  9 +++------
 .../report/standard-reports/test/test-balsheet-pnl.scm  | 17 ++++++++++++++++-
 2 files changed, 19 insertions(+), 7 deletions(-)



More information about the gnucash-patches mailing list