After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 647952 - no difference between 'Balance' and 'Total' in the account overview
no difference between 'Balance' and 'Total' in the account overview
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Register
2.4.x
Other Linux
: Normal normal
: ---
Assigned To: Christian Stimming
Geert Janssens
: 652125 653183 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-04-16 17:09 UTC by Klaus Dahlke
Modified: 2018-06-29 22:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Scrennshot of account overview sreen (31.38 KB, image/png)
2011-04-16 17:09 UTC, Klaus Dahlke
  Details
patch to disable recursion in balance and balance (usd) columns (1.65 KB, patch)
2015-10-22 16:41 UTC, 6BksTc2NaH5b
committed Details | Review
accounts page before patch (23.37 KB, image/png)
2015-10-22 16:41 UTC, 6BksTc2NaH5b
  Details
accounts page after patch (23.57 KB, image/png)
2015-10-22 16:41 UTC, 6BksTc2NaH5b
  Details

Description Klaus Dahlke 2011-04-16 17:09:39 UTC
Created attachment 186085 [details]
Scrennshot of account overview sreen

I guess since 2.4.2 there is no difference between between 'Balance' and Total' in the account overview screen (see attached screenshot). The Checking account has only one entry: 100 received as salary, corresponding account is 'income'. The two debit card accounts have also only one entry, 25 spent and 10 spent as Expenses. In previous versions the 'Balance' showed 100 (because that's the current balance of the checking account and 'Total' showed 65 as tht is is the sum of all balances of the account and its sub-accounts.

Could please look into it so that under 'Balance' just the balance of the respective account without its sub-accounts is shown again?

Thanks and best regards,
Klaus
Comment 1 Geert Janssens 2011-06-10 13:08:36 UTC
*** Bug 652125 has been marked as a duplicate of this bug. ***
Comment 2 Geert Janssens 2011-06-23 10:02:18 UTC
*** Bug 653183 has been marked as a duplicate of this bug. ***
Comment 3 6BksTc2NaH5b 2015-10-22 16:18:25 UTC
In version 2.6.9,

'Balance', 'Balance (USD)', 'Total', 'Total (USD)', and 'Total (Period)' all show the same values, which is the sum total.

'Balance (Period)' shows a different value, which is the non-sum total.

'Balance' and 'Balance (USD)' should also show the non-sum total.
Comment 4 6BksTc2NaH5b 2015-10-22 16:28:49 UTC
I think, that in file 'src/gnome-utils/gnc-tree-model-account.c', lines 673-691, the recurse argument to 'gnc_ui_account_get_print_balance()' and 'gnc_ui_account_get_print_report_balance()' should be changed from 'TRUE' to 'FALSE'.  These lines deal with the 'Balance' and 'Balance (USD)' column values.

This is to match lines 692-702 of the same file.  These lines deal with the 'Balance (Period)' column values.

What do you think?
Comment 5 6BksTc2NaH5b 2015-10-22 16:41:04 UTC
Created attachment 313872 [details] [review]
patch to disable recursion in balance and balance (usd) columns
Comment 6 6BksTc2NaH5b 2015-10-22 16:41:29 UTC
Created attachment 313873 [details]
accounts page before patch
Comment 7 6BksTc2NaH5b 2015-10-22 16:41:42 UTC
Created attachment 313874 [details]
accounts page after patch
Comment 8 6BksTc2NaH5b 2015-10-22 16:44:07 UTC
Can we get this patch included in 2.6.10?

Thanks!
Comment 9 Geert Janssens 2015-11-01 12:23:53 UTC
Yes, you are right IMO that all balance columns should behave the same.

I have applied your patch to the maint branch. Your fix will appear in the next stable gnucash version (2.6.10).

Thank you for your contribution !
Comment 10 John Ralls 2017-09-24 22:42:36 UTC
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
Comment 11 John Ralls 2018-06-29 22:56:59 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=647952. Please update any external references or bookmarks.