Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
7113 Visualizzazioni

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
Abbandona
Autore Risposta migliore

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
Abbandona
Risposta migliore

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
Abbandona

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

Post correlati Risposte Visualizzazioni Attività
2
giu 24
4718
4
mar 22
17390
2
dic 21
1829
0
ott 21
2987
2
dic 19
23567