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
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"/>
Opret en konto i dag for at få glæde af eksklusive funktioner, og bliv en del af vores skønne fællesskab!
Tilmeld dig| Relaterede indlæg | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
1
jun. 21
|
6907 | |||
|
1
maj 24
|
3862 | |||
|
0
sep. 20
|
4758 | |||
|
2
okt. 25
|
5195 | |||
|
1
okt. 25
|
2825 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.