Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
3646 Vistas

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 Mejor respuesta

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

Mejor respuesta
Hello, 

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

    

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
sept 21
1767
1
may 18
3083
2
ene 17
6126
3
mar 15
7016
2
oct 24
1641