Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
2053 มุมมอง

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.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

Please refer to the blog on How to Customize Header/Footer for All Reports in Odoo 17 ERP

Regards

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มิ.ย. 25
908
0
ก.พ. 25
908
1
พ.ย. 24
1789
1
พ.ย. 24
1032
0
พ.ย. 24
1535