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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
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
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
2
jun. 24
|
4710 | ||
|
4
mrt. 22
|
17349 | ||
|
2
dec. 21
|
1825 | ||
|
0
okt. 21
|
2961 | ||
How to use urls as product images?
Opgelost
|
|
2
dec. 19
|
23531 |