İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
7534 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
5068
4
Mar 22
18075
2
Ara 21
2163
0
Eki 21
3422
2
Ara 19
24070