コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
267 ビュー

Hi.

How to add watermark in many pages of a report  - odoo 17
all what I have already tried stick the watermark on the first page only.

I need it to be automaticaly repeated based on pages number - and also to content to be based on the document state.

アバター
破棄
最善の回答

Hi Jonathankabre1, 

<div style="opacity:0.15; font-size:100px; text-align:center; position:fixed; top:600px; right:100px; z-index:99; transform:rotate(-30deg);">

    <img t-if="doc.company_id.logo"

         t-att-src="image_data_uri(doc.company_id.logo)"

         style="max-width:80%; max-height:140pt; min-width:80%; min-height:50pt;"

         alt="Logo"/>

</div>


Try this 


Hope this helps.

アバター
破棄
関連投稿 返信 ビュー 活動
0
10月 24
1576
4
11月 24
7969
2
7月 19
8758
2
7月 25
2185
1
3月 25
1600