Skip to content

Commit

Permalink
[FIX] account_chart_update: Call mapping function instead of removed …
Browse files Browse the repository at this point in the history
…cache. Closes OCA#240
  • Loading branch information
pedrobaeza authored and victoralmau committed Dec 12, 2024
1 parent d804994 commit 0caf46c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_chart_update/wizard/wizard_chart_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ def _prepare_account_vals(self, account_template, mapping_taxes,
mapping_accounts):
root_account_id = self.chart_template_id.account_root_id.id
# 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
if self.map_tax_template(tax_template, mapping_taxes)]
# Calculate the account code (we need to add zeros to non-view
Expand Down

0 comments on commit 0caf46c

Please sign in to comment.