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


How i can make a backgroun image on qweb report ?


아바타
취소
베스트 답변

Hi Isio,

You can simply create a new div and insert an image in it. Make sure its the width & height of the page and give it a z-index. It'll work. Something along these lines:

 <div class="backgroundimage" style="position:absolute;opacity:0.25;font-size:3em;width:100%;height:100%;z-index:1000;">
        <img src="yourpath/yourfile.jpg"/>
        <!-- Or an image from the db. For example: --->
        <p t-field="o.client_order_ref"/>
 </div>

I hope this gives you enough information and a general idea about how to do it. Its simply a matter of HTML and css!
Note: this is untested code, its just to give you an idea.

Yenthe

아바타
취소