Skip to Content
Menu
This question has been flagged
2 Replies
5980 Views

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
Discard
Author 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
Discard
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
Discard

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 Views Activity
2
Jun 24
3959
4
Mar 22
15721
2
Dec 21
968
0
Oct 21
1748
2
Dec 19
22330