GNOME Bugzilla – Bug 785437
Budget barchart report skips accounts with children
Last modified: 2018-06-29 23:58:14 UTC
I have found that the budget barchart will not display accounts with children. It turns out that the report has code that skips accounts with children. To get the desired behavior I changed the following starting at line 208: ;; Else create chart for each account (else (for-each (lambda (acct) (if (null? (gnc-account-get-descendants acct)) (gnc:html-document-add-object! document (gnc:chart-create-budget-actual budget acct running-sum)))) accounts)) to ;; Else create chart for each account (else (for-each (lambda (acct) (gnc:html-document-add-object! document (gnc:chart-create-budget-actual budget acct running-sum)) ) accounts)) and got the behavior that I expected. Perhaps this is fixed in a later release as when I look at the source on github at https://github.com/Gnucash/gnucash/blob/master/src/report/standard-reports/budget-barchart.scm I see that the report functions have been reworked.
I'm using gnucash 2.6.15-1 as shipped with Ubuntu 17.04.
GnuCash bug tracking has moved to a new Bugzilla host. The new URL for this bug is https://bugs.gnucash.org/show_bug.cgi?id=785437. Please continue processing the bug there and please update any external references or bookmarks.