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

Hello everyone, I need your help; I want to make a custom header to print my pdf reports.

아바타
취소
베스트 답변

Hello Christophe KONAN If you're looking to do this with a custom model, you can use a custom module and handle the header, footer, and page content customization directly in the code.

I’ve already created a demo with code that shows how to customize all of these parts — header, footer, and the body content. - module link https://github.com/Rushik-Pitroda/odoo-custom-modules/tree/main/qweb_report

아바타
취소
베스트 답변

Hello,

You can use odoo standard configuration. I'll show you below ss 

1.

2.

아바타
취소
베스트 답변

Settings > Technical > Reports > Reports
Find the report you want to customize. This could be an invoice, quotation, or any other report.

In the QWeb template editor, locate the section where the header is defined. This is typically within

or at the top of the block.

You can add HTML and CSS to customize the header. For example:


Your Custom Header Title
Your Logo


save the template

아바타
취소
관련 게시물 답글 화면 활동
1
6월 25
1040
0
2월 25
960
1
11월 24
1919
1
11월 24
1098
0
11월 24
1678