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

fix: correcting balance sheet calculation for zero liabilities and equity #41497

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Nihantra-Patel
Copy link
Contributor

version 15

fixes: #41488 and https://discuss.frappe.io/t/provisional-profit-loss-credit-shows-0-despite-total-asset-value-in-balance-sheet-report/123335

Before:

  • In the Balance Sheet report, if the Total Liability and Total Equity are both zero, the Provisional Profit/Loss (Credit) is not calculated.

image

After:

image

image

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label May 16, 2024
@stale stale bot added the inactive label Jun 2, 2024
@frappe frappe deleted a comment from stale bot Jun 2, 2024
@stale stale bot removed the inactive label Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-tests This PR needs automated unit-tests.
Projects
None yet
1 participant