Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
4092 Tampilan

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
Buang
Penulis Jawaban Terbai

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
Buang

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

Jawaban Terbai
Hello, 

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

    

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Sep 21
2298
1
Mei 18
3465
2
Jan 17
6640
3
Mar 15
7368
2
Okt 24
2076