How can I add a watermark (Logo,...) centered in my PDF reports?
BR
Ricardo
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
How can I add a watermark (Logo,...) centered in my PDF reports?
BR
Ricardo
Hi,
To achieve this lets go to the settings -> On the company section here we can see the configure layout, as per our requirement we can customize that, it is possible to add logo,background image and different types of paper format
Regards
You can not use your templates, as the default Odoo reports are written in QWeb. But you can create company report headers and footers.
This web helps me with the issue. Has two examples, text and image:
https://www.excelroot.com/post/how-to-add-watermark-in-the-odoo-report-pdf
Cheers
Hi Ricardo,
You can achieve that by customizing your reports by following code.
<div class="watermark_logo" style="position:absolute;opacity:0.30;front-size:8em;width:100%;text-align:center;z-index:100;">
<t t-if='doc.company_id.logo'>
<img t-if="doc.company_id.logo" t-att-src="image_data_uri(doc.company_id.logo)" alt="Logo"/>
</t>
</div>
Regards,
Keyur Makwana.
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
2
thg 10 20
|
15321 | ||
|
1
thg 10 21
|
2865 | ||
|
5
thg 1 25
|
27789 | ||
|
1
thg 4 21
|
4202 | ||
Extend footer in website layout
Đã xử lý
|
|
10
thg 7 20
|
18974 |