تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3195 أدوات العرض

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مايو 24
1729
2
مايو 24
3435
3
فبراير 24
2950
2
نوفمبر 22
5798
0
أبريل 24
1663