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
- Účetnictví
- Sklad
- PoS
- Project
- MRP
This question has been flagged
2
Odpovědi
7079
Zobrazení
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit seRelated Posts | Odpovědi | Zobrazení | Aktivita | |
---|---|---|---|---|
|
2
čvn 24
|
4689 | ||
|
4
bře 22
|
17311 | ||
|
2
pro 21
|
1807 | ||
|
0
říj 21
|
2941 | ||
How to use urls as product images?
Vyřešeno
|
|
2
pro 19
|
23498 |