[Fix] Balance sheet not working (#10311)
This commit is contained in:
parent
738d8c2e0f
commit
9ef1d0f5a5
@ -234,7 +234,7 @@ def add_total_row(out, root_type, balance_must_be, period_list, company_currency
|
||||
for period in period_list:
|
||||
total_row.setdefault(period.key, 0.0)
|
||||
total_row[period.key] += row.get(period.key, 0.0)
|
||||
row[period.key] = ""
|
||||
row[period.key] = 0.0
|
||||
|
||||
total_row.setdefault("total", 0.0)
|
||||
total_row["total"] += flt(row["total"])
|
||||
|
Loading…
x
Reference in New Issue
Block a user