Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
7137 Ansichten

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
Verwerfen
Autor Beste Antwort

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
Verwerfen
Beste Antwort

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
Verwerfen

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

Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Juni 24
4741
4
März 22
17452
2
Dez. 21
1853
0
Okt. 21
2998
2
Dez. 19
23596