Saturday, December 13, 2025
1 change · saas-18.4
Resolved issues and error corrections
This update resolves two issues related to invoice attachments. Previously, incorrect invoice formats prevented attachment buttons from appearing, leading to errors. Additionally, warnings about unsupported attachments persisted even when the 'peppol' sending method was disabled, causing unnecessary notifications. This ensures consistent and reliable invoice attachment functionality.
Original PR description
[FIX] account{_edi_ubl_cii, _peppol}: Attachment fix
2 scenarios fixed in this commit :
1:
When a user invoice_edi_format is not 'ubl_bis3' the attachment button is not displayed and the key doesn't exists in the invoice_data. This causes traceback when trying to access the key.
2:
When a user send and print an invoice, with 'email' and 'peppol' as sending_methods, warnings will be displayed next to attachments not supported by peppol.
But if the user uncheck 'peppol', warnings will stay while no sending method requires them anymore.
See odoo/odoo#234339
Forward-Port-Of: odoo/odoo#239769
Forward-Port-Of: odoo/odoo#239684