[14.0][FIX] account_financial_report: variable not defined

- variable name have been changed in this commit but it not have been changed in all code.
01efb031e1 (diff-23868768c260356890af524cba5a535c8f73f525ef9490f326572dda4c1a4f20R235)
pull/921/head
miguels73 2022-09-22 11:10:39 +02:00
parent 0165b880a0
commit da7061cc72
1 changed files with 2 additions and 2 deletions

View File

@ -253,9 +253,9 @@ class GeneralLedgerXslx(models.AbstractModel):
} }
) )
if foreign_currency: if foreign_currency:
partner.update( group_item.update(
{ {
"initial_bal_curr": partner["init_bal"]["bal_curr"], "initial_bal_curr": group_item["init_bal"]["bal_curr"],
} }
) )
self.write_initial_balance_from_dict(group_item, report_data) self.write_initial_balance_from_dict(group_item, report_data)