Skip to Content

[FIX] l10n_vn_edi_viettel: fetch only the missing SInvoice files on re-send

Killed 374m merged
PR
#1330
PR Author
David Tran
Committer
David Tran
Commit
be2b72356504
Branch
18.0
Age
Up-time
Commit message
[FIX] l10n_vn_edi_viettel: fetch only the missing S-Invoice files on re-send

Re-sending an invoice already issued to Viettel S-Invoice no longer
fetches the PDF and XML again, so no duplicate attachment or chatter
note appears. A file answer that is empty, lacks the file key or is not
a ZIP archive becomes a clear error on the invoice instead of a
traceback or a silent empty PDF.

Closes Viindoo/odoo#1328