Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
4085 Visninger

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
Kassér
Forfatter Bedste svar

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
Kassér

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

Bedste svar
Hello, 

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

    

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
sep. 21
2294
1
maj 18
3461
2
jan. 17
6630
3
mar. 15
7365
2
okt. 24
2074