mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 16:45:02 +00:00
Merge pull request #50232 from diptanilsaha/gh_50085
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:
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user