Skip to content

Commit

Permalink
[FIX] l10n_ar_account_withholding: message not defined
Browse files Browse the repository at this point in the history
use ws.MensajeError instead

closes #794

X-original-commit: 61d9033
Signed-off-by: pablohmontenegro <pam@adhoc.com.ar>
  • Loading branch information
zaoral committed Jan 30, 2024
1 parent b9e75f2 commit 790a38f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l10n_ar_account_withholding/models/res_company.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def get_arba_data(self, partner, from_date, to_date):
_logger.error('Padron ARBA: %s' % msg)
else:
error = True
msg = (_('Padron ARBA: %s - %s (%s)') % (ws.CodigoError, message, ws.TipoError))
msg = (_('Padron ARBA: %s - %s (%s)') % (ws.MensajeError, ws.TipoError, ws.CodigoError))
_logger.error('Padron ARBA: %s' % msg)

if error:
Expand Down

0 comments on commit 790a38f

Please sign in to comment.