Better handling of ignore zero values
diff --git a/erpnext/accounts/report/financial_statements.py b/erpnext/accounts/report/financial_statements.py
index 3490146..59b28da 100644
--- a/erpnext/accounts/report/financial_statements.py
+++ b/erpnext/accounts/report/financial_statements.py
@@ -134,10 +134,13 @@
if d.get(period.key):
# change sign based on Debit or Credit, since calculation is done using (debit - credit)
d[period.key] *= (1 if balance_must_be=="Debit" else -1)
- has_value = True
row[period.key] = flt(d.get(period.key, 0.0), 3)
+ if abs(row[period.key]) >= 0.005:
+ # ignore zero values
+ has_value = True
+
if has_value:
out.append(row)