콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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
5월 24
2229
2
5월 24
4214
3
2월 24
3648
2
11월 22
6354
0
4월 24
2161