Merge PR #1451 into 13.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2022-08-03 15:38:38 +00:00

View File

@@ -519,7 +519,7 @@ class WizardUpdateChartsAccounts(models.TransientModel):
def find_accounts_by_templates(self, templates):
account_ids = []
for account in templates:
account_ids.append(self.find_tax_by_templates(account))
account_ids.append(self.find_account_by_templates(account))
return self.env["account.account"].browse(account_ids)
@tools.ormcache("templates")