Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

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

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 24
1732
2
thg 5 24
3449
3
thg 2 24
2955
2
thg 11 22
5808
0
thg 4 24
1666