Friday, November 14, 2025
1 change · 18.0
Resolved issues and error corrections
This change makes certain report attachments available as local files instead of remote links when they need to be processed later, such as images added from the chatter. It helps prevent broken or unmanageable attachments in reports while also avoiding unsafe access to untrusted links.
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