Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
7266 Widoki

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 

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć

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

Powiązane posty Odpowiedzi Widoki Czynność
2
wrz 25
4824
4
mar 22
17652
2
gru 21
1926
0
paź 21
3148
2
gru 19
23750