gnucash maint: Bug 798050 - error using Reports->Experimental->Income Statement (Multicolumn)

Christopher Lam clam at code.gnucash.org
Sun Dec 13 18:34:56 EST 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/b014d019 (commit)
	from  https://github.com/Gnucash/gnucash/commit/9ffee974 (commit)



commit b014d0190a0b57bc89bd398c0b8ac9df0a5df9fc
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Dec 14 07:26:49 2020 +0800

    Bug 798050 - error using Reports->Experimental->Income Statement (Multicolumn)
    
    the intention - for pnl multicolumn reports, the barchart is always
    available:
    
    - if period is disabled, show monthly reports
    - if period is enabled, show periodic reports

diff --git a/gnucash/report/reports/standard/balsheet-pnl.scm b/gnucash/report/reports/standard/balsheet-pnl.scm
index 8107eadff..b8e1647f8 100644
--- a/gnucash/report/reports/standard/balsheet-pnl.scm
+++ b/gnucash/report/reports/standard/balsheet-pnl.scm
@@ -1204,7 +1204,7 @@ also show overall period profit & loss."))
              (chart
               (and-let* (include-chart?
                          (curr (or common-currency book-main-currency))
-                         (delta (or (not (eq? incr 'disabled)) 'MonthDelta))
+                         (delta (if (eq? incr 'disabled) 'MonthDelta incr))
                          (price (or price-source 'pricedb-nearest)))
                 (gnc:make-report-anchor
                  pnl-barchart-uuid report-obj



Summary of changes:
 gnucash/report/reports/standard/balsheet-pnl.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list