İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
7313 Görünümler

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
Vazgeç
Üretici En İyi Yanıt

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
Vazgeç
En İyi Yanıt

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
Vazgeç

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Eyl 25
4876
4
Mar 22
17784
2
Ara 21
1983
0
Eki 21
3213
2
Ara 19
23845