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

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,

Please check this free module: Reports with Watermark

Thanks

아바타
취소
베스트 답변

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.
아바타
취소
관련 게시물 답글 화면 활동
2
10월 20
15610
1
10월 21
3099
5
1월 25
28234
1
4월 21
4457
10
7월 20
19378