diff --git a/account_chart_update/wizard/wizard_chart_update.py b/account_chart_update/wizard/wizard_chart_update.py index 4c7b1896b..3f9c00e7f 100644 --- a/account_chart_update/wizard/wizard_chart_update.py +++ b/account_chart_update/wizard/wizard_chart_update.py @@ -596,7 +596,7 @@ class WizardUpdateChartsAccounts(models.TransientModel): def _create_account_from_template(self, account_template): return self.env["account.account"].create({ 'name': account_template.name, - 'currency_id': account_template.currency_id, + 'currency_id': account_template.currency_id.id, 'code': self.padded_code(account_template.code), 'user_type_id': account_template.user_type_id.id, 'reconcile': account_template.reconcile,