Skip to Content
Menu
This question has been flagged
1 Reply
4554 Views
Best Answer

Already answered at:

https://www.odoo.com/forum/help-1/question/v9-how-can-i-show-a-product-image-in-a-report-like-the-quotation-or-sales-order-pdf-96696


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