Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
4087 Vizualizări

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.

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

......

Imagine profil
Abandonează

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

Cel mai bun răspuns
Hello, 

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

    

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
sept. 21
2296
1
mai 18
3462
2
ian. 17
6637
3
mar. 15
7368
2
oct. 24
2074