fix(profit-loss-report): handle zero base values and prevent null% display #54684
+11
−3
Codecov / codecov/project
succeeded
Apr 30, 2026 in 0s
79.75% (+0.47%) compared to 9e5d94c
View this Pull Request on Codecov
79.75% (+0.47%) compared to 9e5d94c
Details
Codecov Report
❌ Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.75%. Comparing base (9e5d94c) to head (7335011).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| erpnext/accounts/report/financial_statements.py | 0.00% | 8 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## develop #54684 +/- ##
===========================================
+ Coverage 79.27% 79.75% +0.47%
===========================================
Files 1158 1160 +2
Lines 125495 126451 +956
===========================================
+ Hits 99492 100853 +1361
+ Misses 26003 25598 -405 | Files with missing lines | Coverage Δ | |
|---|---|---|
| erpnext/accounts/report/financial_statements.py | 76.11% <0.00%> (-1.08%) |
⬇️ |
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Loading