Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
4088 Zobrazení

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
Zrušit
Autor Nejlepší odpověď

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
Zrušit

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

Nejlepší odpověď
Hello, 

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

    

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
zář 21
2297
1
kvě 18
3462
2
led 17
6639
3
bře 15
7368
2
říj 24
2075