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

I have a custom report and i want to remove header from the report.How it is possible.Thanks in advance.

อวตาร
ละทิ้ง
ผู้เขียน

thanks esther

คำตอบที่ดีที่สุด

Update for version 16 :

You need to define your own paperformat, and call that paper to action.
Adjust the margin_top to eliminate the header and margin_bottom value for the footer

<record id="custom_paper" model="report.paperformat">
<field name="name">custom paper formatfield>
<field name="default" eval="True" />
<field name="format">A4field>
<field name="page_height">0field>
<field name="page_width">0field>
<field name="orientation">Portraitfield>
<field name="margin_top">7field>
<field name="margin_bottom">7field>
<field name="margin_left">7field>
<field name="margin_right">7field>
<field name="header_line" eval="False" />
<field name="dpi">90field>
record>

Note : please fix the code above, especially the closing field. Tried many times to fix this answer but not works. This forum is messed up it can't save code block above properly.

Best regards,

Altela (altelasoftware.com)

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

If your report has a div class header tag remove ir. Otherwise It comes from the layout you are using and you have yo remove it from that layout.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.ย. 24
1414
0
ธ.ค. 18
2689
0
มี.ค. 18
3540
0
ก.ค. 17
7831
1
พ.ย. 16
2976