Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
4062 Vues

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
Ignorer
Auteur Meilleure réponse

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
Ignorer

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

Meilleure réponse
Hello, 

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

    

Avatar
Ignorer
Publications associées Réponses Vues Activité
0
sept. 21
2284
1
mai 18
3450
2
janv. 17
6622
3
mars 15
7362
2
oct. 24
2070