콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
4114 화면

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

    

아바타
취소
관련 게시물 답글 화면 활동
0
9월 21
2331
1
5월 18
3551
2
1월 17
6661
3
3월 15
7388
2
10월 24
2117