Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 798461 - balance sheet shows positions with zero balances despite report options #1609

Merged
merged 1 commit into from Apr 22, 2023

Conversation

dawansv
Copy link
Contributor

@dawansv dawansv commented Apr 21, 2023

This occurs when accounts with different currencies or commodities are being rolled up to a higher level of subaccounts. Fixed by removing commodities with zero totals from commoditylist when "omit zero balance figures" option is selected.

Code's author is Christopher Lam.

despite report options

This occurs when accounts with different currencies or commodities
are being rolled up to a higher level of subaccounts. Fixed by
removing commodities with zero totals from commoditylist when
"omit zero balance figures" option is selected.
@dawansv
Copy link
Contributor Author

dawansv commented Apr 22, 2023

I have tested this and it seems to work well.

Here are some screenshots. This one show the balance sheet WITHOUT the "omit zero balance figures" option selected

image

This one shows the same balance sheet with the "omit zero balance figures" option selected. Notice how the zeros are also removed from the rolled up accounts in Assets > Other Assets > Cars and also Liabilities > Bank Loan > Bank ABC

image

@code-gnucash-org code-gnucash-org merged commit b3899f7 into Gnucash:stable Apr 22, 2023
3 checks passed
@christopherlam
Copy link
Contributor

Thanks!

@dawansv dawansv deleted the bug798461 branch April 22, 2023 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants