From b014d0190a0b57bc89bd398c0b8ac9df0a5df9fc Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Mon, 14 Dec 2020 07:26:49 +0800 Subject: [PATCH] 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 --- gnucash/report/reports/standard/balsheet-pnl.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnucash/report/reports/standard/balsheet-pnl.scm b/gnucash/report/reports/standard/balsheet-pnl.scm index 8107eadff8..b8e1647f87 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