Skip to Content
मेन्यू
This question has been flagged
2 Replies
4093 Views

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
Discard
Author Best Answer

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
Discard

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

Best Answer
Hello, 

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

    

Avatar
Discard
Related Posts Replies Views Activity
0
सित॰ 21
2299
1
मई 18
3465
2
जन॰ 17
6640
3
मार्च 15
7368
2
अक्तू॰ 24
2077