Monday, November 17, 2025
1 change · saas-18.4
Resolved issues and error corrections
This change makes specific report attachments, such as images needed by chatter-generated reports, be saved locally instead of kept as remote links. This improves reliability when reports need to use those files later, and it also adds checks to avoid unsafe remote URLs from being used directly.
Original PR description
During commit #226094, several methods were added to allow fetching remote resources for certain reports. After that commit, we notice that some attachments (like images -> image_src) must need the file localy. To avoid this issue we decided to convert this documents from remote to localy (binary), to be able to manage them. It'll just happen for the reports that need to add attachments from the chatter. OPW-5036638 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#235710 Forward-Port-Of: odoo/odoo#235077