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

Hi,

How could I set text as a watermark in an Odoo 12 custom report?

Im trying like this but it doesn't work, the div appears over the content hiding all the information.

<div t-att-style="'position:absolute;opacity:0.1;z-index:1000;transform:rotate(300deg);-webkit-transform:rotate(300deg);width:150%;'">
<p style="font-size:140px;">CANCELADO</p>
</div>

Thank you in advance 

아바타
취소
베스트 답변

You need to decrease z-index of the provided code and increase the z-index of the content div.

If content div has no z-index provide it higher then watermark div

아바타
취소
작성자

Thank you for your answer, I try like that but doesn't work, I set my div as z-index as -1 and the z-index of the other content as 9999 but nothing changes you have other idea what it could be?

관련 게시물 답글 화면 활동
3
12월 20
3159
2
9월 20
3428
1
10월 19
2566
3
8월 25
25306
0
3월 22
2587