From 9930b8e3aebaca52b7ef45bb267e008650e4edf5 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Tue, 2 Aug 2022 18:23:05 +0200 Subject: [PATCH] [FIX] account_chart_update: Incorrect call in find account method Clear copy/paste error. --- account_chart_update/wizard/wizard_chart_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_chart_update/wizard/wizard_chart_update.py b/account_chart_update/wizard/wizard_chart_update.py index 3df5c7689..915b5bfbb 100644 --- a/account_chart_update/wizard/wizard_chart_update.py +++ b/account_chart_update/wizard/wizard_chart_update.py @@ -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")