fix(trial_balance): remove hardcoded precision for currency values

(cherry picked from commit a8af04f6fc)
This commit is contained in:
Navin-S-R
2025-12-11 15:07:46 +05:30
committed by Mergify
parent 6788b58d1c
commit 99b69c121e

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