For example i have a report that use an image, when i print the report creates me and attachment from the report and save it with this code
<report id="print_croquis" string="Croquis" model="vor.solicitudes" report_type="qweb-pdf" name="vor_cte.croquis" file="vor_cte.croquis" attachment="object.name + 'Croquis.pdf'" />
but when i change the image and the print again the report to generate a new attachment, the printed report change with the new image but the attachment is still with the old image
i already have deactivated the option of reload from attachment, but is still not working
did u find solution?
Hi,
In this case, I think it comes to the storing issue, maybe the image record is not stored in the database, so ensure the image field is stored, and after you can add the images in the attachments
Similar types of images forum posts before
https://www.odoo.com/forum/help-1/how-to-add-images-in-the-pdf-reports-163920
Hope it helps