Skip to content

Commit

Permalink
[IMP] account_ux: fix default get
Browse files Browse the repository at this point in the history
  • Loading branch information
jjscarafia committed Nov 27, 2023
1 parent 77fbd2b commit d627d2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions account_ux/wizards/res_config_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ def _compute_tax_ids(self):
for rec in self:
company_id = rec.company_id.id

taxes_ids = ir_default.get('product.template', 'taxes_id', company_id=company_id) or \
taxes_ids = ir_default._get('product.template', 'taxes_id', company_id=company_id) or \
rec.company_id.account_sale_tax_id.ids
supplier_taxes_ids = ir_default.get('product.template', 'supplier_taxes_id', company_id=company_id) or \
supplier_taxes_ids = ir_default._get('product.template', 'supplier_taxes_id', company_id=company_id) or \
rec.company_id.account_purchase_tax_id.ids

rec.sale_tax_ids = taxes_ids
Expand Down

0 comments on commit d627d2f

Please sign in to comment.