[FIX] account_chart_update: Call mapping function instead of removed cache. Closes #240
This commit is contained in:
parent
317bb9f542
commit
f98233d55e
@ -976,7 +976,7 @@ class WizardUpdateChartsAccounts(models.TransientModel):
|
|||||||
mapping_accounts):
|
mapping_accounts):
|
||||||
root_account_id = self.chart_template_id.account_root_id.id
|
root_account_id = self.chart_template_id.account_root_id.id
|
||||||
# Get the taxes
|
# Get the taxes
|
||||||
taxes = [self._tax_mapping[tax_template]
|
taxes = [self.map_tax_template(tax_template, mapping_taxes)
|
||||||
for tax_template in account_template.tax_ids
|
for tax_template in account_template.tax_ids
|
||||||
if self.map_tax_template(tax_template, mapping_taxes)]
|
if self.map_tax_template(tax_template, mapping_taxes)]
|
||||||
# Calculate the account code (we need to add zeros to non-view
|
# Calculate the account code (we need to add zeros to non-view
|
||||||
|
Loading…
Reference in New Issue
Block a user