I have used:
<img src="/module/static/src/img/image.png" class="img" style="height:25%;width:25%;"/>
in my report
it shows the image when qweb-html, but when rendering to pdf the image does not show.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I have used:
<img src="/module/static/src/img/image.png" class="img" style="height:25%;width:25%;"/>
in my report
it shows the image when qweb-html, but when rendering to pdf the image does not show.
Already fixed the problem
had use a layout.
<t t-call="web.html_container">
<t t-foreach="docs" t-as="doc">
<t t-call="web.internal_layout">
......
adding <t t-call="web.internal_layout"> is solving the issue, thanks
Hello,
I think you have to try t-att-src instead of src
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
0
syysk. 21
|
2309 | ||
|
1
toukok. 18
|
3491 | ||
|
2
tammik. 17
|
6648 | ||
Reports not auto-saved to attachments
Ratkaistu
|
|
3
maalisk. 15
|
7377 | |
|
2
lokak. 24
|
2082 |