Merge pull request #51071 from frappe/mergify/bp/version-15-hotfix/pr-51041

fix(trial_balance): remove hardcoded precision for currency values (backport #51041)
This commit is contained in:
ruthra kumar
2025-12-16 15:40:02 +05:30
committed by GitHub

View File

@@ -399,7 +399,7 @@ def prepare_data(accounts, filters, parent_children_map, company_currency):
}
for key in value_fields:
row[key] = flt(d.get(key, 0.0), 3)
row[key] = flt(d.get(key, 0.0))
if abs(row[key]) >= get_zero_cutoff(company_currency):
# ignore zero values