Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
7075 Tampilan

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
Buang
Penulis Jawaban Terbai

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
Buang
Jawaban Terbai

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
Buang

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

Post Terkait Replies Tampilan Aktivitas
2
Jun 24
4686
4
Mar 22
17303
2
Des 21
1802
0
Okt 21
2936
2
Des 19
23488