2
0

[FIX] account_chart_update: Incorrect call in find account method

Clear copy/paste error.
This commit is contained in:
Pedro M. Baeza 2022-08-02 18:23:05 +02:00 committed by Luis J. Salvatierra
parent be87808000
commit 934e2e57f6

View File

@ -511,7 +511,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")