From 7c4d017bc57f4e5c3444a3a9d83507986eabaf58 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 f9f6678ed..a5fdd2ac1 100644 --- a/account_chart_update/wizard/wizard_chart_update.py +++ b/account_chart_update/wizard/wizard_chart_update.py @@ -518,7 +518,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")