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
Hello,
I think you have to try t-att-src instead of src
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 9 21
|
2284 | ||
|
1
thg 5 18
|
3450 | ||
|
2
thg 1 17
|
6622 | ||
|
3
thg 3 15
|
7362 | ||
|
2
thg 10 24
|
2070 |