Skip to content

Commit

Permalink
[FIX] cordoba aliquot for not pasible
Browse files Browse the repository at this point in the history
  • Loading branch information
jjscarafia committed May 8, 2020
1 parent 719d079 commit f613406
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions l10n_ar_account_withholding/models/res_company.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ def get_cordoba_data(self, partner, date):
if code == 3:
alicuota_percepcion = self.cdba_alicuota_no_sincripto_percepcion
alicuota_retencion = self.cdba_alicuota_no_sincripto_retencion
elif code == 2:
alicuota_percepcion = 0.0
alicuota_retencion = 0.0
elif code != 0:
raise UserError(json_body.get("message"))
else:
Expand Down

0 comments on commit f613406

Please sign in to comment.