Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
7545 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
Sep 25
5070
4
Mar 22
18077
2
Des 21
2165
0
Okt 21
3424
2
Des 19
24074