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
- 会計
- 在庫
- PoS
- Project
- MRP
この質問にフラグが付けられました
2
返信
7117
ビュー
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
関連投稿 | 返信 | ビュー | 活動 | |
---|---|---|---|---|
|
2
6月 24
|
4721 | ||
|
4
3月 22
|
17393 | ||
|
2
12月 21
|
1829 | ||
|
0
10月 21
|
2988 | ||
|
2
12月 19
|
23570 |