Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
4059 Visualizzazioni

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
Abbandona
Autore Risposta migliore

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
Abbandona

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

Risposta migliore
Hello, 

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

    

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
set 21
2283
1
mag 18
3448
2
gen 17
6622
3
mar 15
7362
2
ott 24
2069