Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3092 มุมมอง

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?

Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ธ.ค. 20
3070
2
ก.ย. 20
3316
Return multiply pdfs for products แก้ไขแล้ว
1
ต.ค. 19
2533
0
มี.ค. 22
2525
2
ต.ค. 20
27975