Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
412 Zobrazení

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.

Avatar
Zrušit
Nejlepší odpověď

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.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
říj 24
1678
4
lis 24
8169
2
čvc 19
8922
2
čvc 25
2437
1
bře 25
1828