Skip to content

Commit

Permalink
[FIX] account_ux: error al ingresar en ajustes de contabilidad
Browse files Browse the repository at this point in the history
Ticket: 68143
Réplica del error en runbot de adhoc 17:
https://drive.google.com/file/d/1k5FdLMvFryGKuNBoJnK5RMim3mZPqv6s/view

closes #469

Signed-off-by: Katherine Zaoral <kz@adhoc.com.ar>
  • Loading branch information
pablohmontenegro committed Nov 27, 2023
1 parent 77fbd2b commit 9681a92
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 9681a92

Please sign in to comment.