Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
7129 Переглядів

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 

Аватар
Відмінити
Автор Найкраща відповідь

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;"/>

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити

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

Related Posts Відповіді Переглядів Дія
2
черв. 24
4727
4
бер. 22
17402
2
груд. 21
1832
0
жовт. 21
2992
2
груд. 19
23577