Skip to Content
Menú
This question has been flagged
2 Respostes
3573 Vistes

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
Descartar
Autor 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
Descartar

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
Descartar
Related Posts Respostes Vistes Activitat
0
de set. 21
1710
1
de maig 18
2989
2
de gen. 17
6026
3
de març 15
6839
2
d’oct. 24
1531