Skip to content

Commit

Permalink
[FIX] l10n_ar_account_withholding: compute escala for non 119
Browse files Browse the repository at this point in the history
closes #736

X-original-commit: 74e586c
Signed-off-by: Juan José Scarafía <jjs@adhoc.com.ar>
Signed-off-by: Katherine Zaoral <kz@adhoc.com.ar>
  • Loading branch information
zaoral committed Oct 3, 2023
1 parent 304061f commit 2b5591a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l10n_ar_account_withholding/models/account_tax.py
Expand Up @@ -108,7 +108,7 @@ def get_withholding_vals(self, payment_group):
# hacemos <= porque si es 0 necesitamos que encuentre
# la primer regla (0 es en el caso en que la no
# imponible sea mayor)
codigo_de_regimen = '119' if regimen.codigo_de_regimen == '119' else ''
codigo_de_regimen = '119' if regimen.codigo_de_regimen == '119' else False
escala = self.env['afip.tabla_ganancias.escala'].search([
('importe_desde', '<=', base_amount),
('importe_hasta', '>', base_amount),
Expand Down

0 comments on commit 2b5591a

Please sign in to comment.