Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
4074 Переглядів

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.

Аватар
Відмінити
Автор Найкраща відповідь

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">

......

Аватар
Відмінити

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

Найкраща відповідь
Hello, 

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

    

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
вер. 21
2289
1
трав. 18
3455
2
січ. 17
6625
3
бер. 15
7364
2
жовт. 24
2073