fix(trial_balance): remove hardcoded precision for currency values

This commit is contained in:
Navin-S-R
2025-12-11 15:07:46 +05:30
parent 8e0227ea68
commit a8af04f6fc

View File

@@ -447,7 +447,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