[FIX] account_chart_update: Incorrect call in find account method
Clear copy/paste error.
This commit is contained in:
parent
be87808000
commit
934e2e57f6
@ -511,7 +511,7 @@ class WizardUpdateChartsAccounts(models.TransientModel):
|
|||||||
def find_accounts_by_templates(self, templates):
|
def find_accounts_by_templates(self, templates):
|
||||||
account_ids = []
|
account_ids = []
|
||||||
for account in templates:
|
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)
|
return self.env["account.account"].browse(account_ids)
|
||||||
|
|
||||||
@tools.ormcache("templates")
|
@tools.ormcache("templates")
|
||||||
|
Loading…
Reference in New Issue
Block a user