Skip to Content
Menu
This question has been flagged
2 Replies
7145 Rodiniai

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 

Portretas
Atmesti
Autorius 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;"/>

Portretas
Atmesti
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

Portretas
Atmesti

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 Replies Rodiniai Veikla
2
birž. 24
4744
4
kov. 22
17469
2
gruod. 21
1857
0
spal. 21
3011
2
gruod. 19
23616