Hello!
I'm trying to include a picture at the end of a PDF report. I had included it in Attachments section, but later on I don't know how to put it in the report. If I click on Embed, the code generated is not working well.
Thank you in advance
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello!
I'm trying to include a picture at the end of a PDF report. I had included it in Attachments section, but later on I don't know how to put it in the report. If I click on Embed, the code generated is not working well.
Thank you in advance
Hi,
Please refer to this link
https://www.odoo.com/forum/help-1/how-to-add-images-in-the-pdf-reports-163920
https://www.odoo.com/forum/help-1/question/display-image-in-qweb-report-76746
Thanks
Muhammed Ali M - iWesabe
Hi Marta,
i did the below mentioned steps for display the image into the qweb-pdf report.
Code:
<t t-set="base_url" t-value="request.env['ir.config_parameter'].sudo().get_param('web.base.url')"/>
<img t-att-src="'%s/your_module/static/src/img/signature.png' % base_url"
alt="Signature" width="180" height="160"/>
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 6 21
|
4827 | ||
|
1
thg 5 24
|
1854 | ||
|
0
thg 9 20
|
2730 | ||
|
1
thg 8 25
|
324 | ||
|
1
thg 4 25
|
1490 |