Skip to content

Commit

Permalink
[FIX] account_invoice_tax: Fix in _prepare_tax_totals super method
Browse files Browse the repository at this point in the history
closes #174

Task: 34430
Signed-off-by: Juan José Scarafía <jjs@adhoc.com.ar>
  • Loading branch information
mem-adhoc committed Dec 15, 2023
1 parent 20fd291 commit 818bba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_invoice_tax/models/account_tax.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class AccountTax(models.Model):

@api.model
def _prepare_tax_totals(self, base_lines, currency, tax_lines=None):
totals = super()._prepare_tax_totals(base_lines, currency, tax_lines)
totals = super()._prepare_tax_totals(base_lines, currency, tax_lines=tax_lines)
##recorrer totals y si comple on la condicion y esta en self.env._context.get('tax_total_origin')
tax_total_origin = self.env.context.get('tax_total_origin')
if tax_total_origin:
Expand Down

0 comments on commit 818bba1

Please sign in to comment.