Skip to content

Commit

Permalink
[FIX] l10n_ar_account_tax_settlement: DeprecationWarning: invalid esc…
Browse files Browse the repository at this point in the history
…ape sequence '\.'

closes #384

X-original-commit: 68821ea
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 May 9, 2024
1 parent eb985ec commit b3c1908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l10n_ar_account_tax_settlement/models/account_journal.py
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,7 @@ def retenciones_iva_files_values(self, move_lines):
content += fields.Date.from_string(payment.date).strftime('%d/%m/%Y')

# número comprobante (long 16)
content += re.sub('[^0-9\.]', '', line.withholding_id.name).ljust(16, '0')
content += re.sub(r'[^0-9\.]', '', line.withholding_id.name).ljust(16, '0')

# Aclaración importante: estamos agregando ceros entre el número de comprobante y el importe de retención
# esto contradice la especificación que dice que debe haber espacios pero en la tarea 31418 nos indicaron
Expand Down

0 comments on commit b3c1908

Please sign in to comment.