Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
7099 Представления

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
4713
4
мар. 22
17365
2
дек. 21
1826
0
окт. 21
2965
2
дек. 19
23537