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

hey guys, i need help, my header from a report is bugged so i wanna remove the blank space that it covers but idk how, im in odoo 15 

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

Hi,
Go to your report's paper format and set header_line as False.

if you have not created a custom paper format create a custom one and set it in your report
like this, after that, you can set attributes as you need. 

<record id="paperformat_custom"  model="report.paperformat">
 <field name="name">A4 Custom</field>
 <field name="default" eval="True"/>
 <field name="format">A4</field>
 <field name="page_height">0</field>
 <field name="page_width">0</field>
<field name="orientation">Portrait</field>
 <field name="margin_top">5</field>
<field name="margin_bottom">13</field>
 <field name="margin_left">7</field>
 <field name="margin_right">7</field>
 <field name="header_line" eval="False"/>
<field name="header_spacing">15</field>
 <field name="dpi">90</field>
</record>



Hope it helps,


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

Hi 

You have to edit  the top margin in the paperformat of the report . 

Go to settings > Technical > Paperformats 

Choose the Paperformat and edit the Top margin .


Regards

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ต.ค. 23
7448
1
ก.พ. 23
4421
0
เม.ย. 23
1825
Override report_invoice_document แก้ไขแล้ว
1
มี.ค. 23
3696
Studio : bank details on Invoice แก้ไขแล้ว
1
ม.ค. 23
2972