Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
3651 Prikazi

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.

Avatar
Opusti
Avtor Best Answer

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">

......

Avatar
Opusti

adding <t t-call="web.internal_layout"> is solving the issue, thanks

Best Answer
Hello, 

I think you have to try t-att-src instead of src

    

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
sep. 21
1769
1
maj 18
3090
2
jan. 17
6127
3
mar. 15
7017
2
okt. 24
1648