Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REM] Remove unnecessary backslash in regular expression #381

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -1493,7 +1493,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\.]', '', payment.withholding_number).ljust(16, '0')
content += re.sub('[^0-9.]', '', payment.withholding_number).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