Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3200 Visualizações

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

Avatar
Cancelar

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

Publicações relacionadas Respostas Visualizações Atividade
0
mai. 24
1731
2
mai. 24
3442
3
fev. 24
2952
2
nov. 22
5802
0
abr. 24
1666