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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
0
сент. 21
|
3511 | |||
|
1
мая 18
|
4476 | |||
|
2
янв. 17
|
7644 | |||
|
3
мар. 15
|
8346 | |||
|
2
окт. 24
|
3176 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.