Skip to content

Commit

Permalink
[FIX] account_payment_pro: Problema al querer generar una nota de deb…
Browse files Browse the repository at this point in the history
…ito desde un pago con impuesto NA

Ticket: 76253
  • Loading branch information
mem-adhoc authored and jjscarafia committed Jul 31, 2024
1 parent 8990441 commit 8434518
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ def _compute_amount_untaxed(self):
"""
self.ensure_one()
tax_percent = 0.0
for tax in self.tax_ids.filtered(
lambda x: not x.price_include):
for tax in self.tax_ids.filtered(lambda x: not x.price_include and x.amount_type not in ['fixed'] or x.amount):
if tax.amount_type == 'percent':
tax_percent += tax.amount
elif tax.amount_type == 'partner_tax':
Expand Down

0 comments on commit 8434518

Please sign in to comment.