Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
4097 Weergaven

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
Annuleer
Auteur Beste antwoord

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
Annuleer

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

Beste antwoord
Hello, 

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

    

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
sep. 21
2300
1
mei 18
3476
2
jan. 17
6642
3
mrt. 15
7371
2
okt. 24
2080