mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
fix(consolidated trial balance): index out of range error
This commit is contained in:
@@ -264,7 +264,8 @@ def calculate_total_row(data, reporting_currency):
|
|||||||
for field in value_fields:
|
for field in value_fields:
|
||||||
total_row[field] += d[field]
|
total_row[field] += d[field]
|
||||||
|
|
||||||
calculate_foreign_currency_translation_reserve(total_row, data)
|
if data:
|
||||||
|
calculate_foreign_currency_translation_reserve(total_row, data)
|
||||||
|
|
||||||
return total_row
|
return total_row
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user