Skip to content

Commit

Permalink
Merge PR OCA#1959 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by adrienpeiffer
  • Loading branch information
OCA-git-bot committed Oct 29, 2024
2 parents 778562e + 68fcba2 commit 3d84ddc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion account_chart_update/wizard/wizard_chart_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,8 @@ def _update_accounts(self):
if wiz_account.type == "new":
# Create the account
tax_template_ref = {
tax: self.find_tax_by_templates(tax) for tax in template.tax_ids
tax: self.env["account.tax"].browse(self.find_tax_by_templates(tax))
for tax in template.tax_ids
}
vals = self.chart_template_id._get_account_vals(
self.company_id,
Expand Down

0 comments on commit 3d84ddc

Please sign in to comment.