Skip to Content
Menú
This question has been flagged
2 Respostes
7036 Vistes

I'd like to be able to print the image of a product on the various pdf reports that Odoo outputs - like the Quotation/Order, the 

Avatar
Descartar
Autor Best Answer

You can inherit and override the QWEB report report_saleorder_document and add the following line:

<img t-if="l.product_id.image_small" t-att-src="'data:image/png;base64,%s' % l.product_id.image_small" style="max-height: 45px;"/>

Avatar
Descartar
Best Answer

Hi,

To add the product image in the reports, have a look at this module :  Product image for sale reports

This will add the product image in sale report

Thanks

Avatar
Descartar

The answer may be irrelevant for the one who asked the question, but will help the one who are looking for the same

Related Posts Respostes Vistes Activitat
2
de juny 24
4668
4
de març 22
17244
2
de des. 21
1782
0
d’oct. 21
2892
2
de des. 19
23433