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

I need a help.

I want to remove both header and footer or only header from last page in qweb-report. Because I will put different information to last page. Header and footer mustn't become in last page. How can I do this ? Is it possible ?

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

Hi,

May be report_qweb_element_page_visibilit module can help you.

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

Hi,

Do I have to install this module?

Yes, you need to install this module and follow the given instructions.

With this module we can restrict ,
but if we have a header spacing as per paper format , will it be removed in last page

scenario :last page is terms and condition without header

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

pls use paper format to specify elements and attributes

<record id="paperformat_fhs_contrato_encomienda"
model="report.paperformat">
<field name="name">European A4 Landscape</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">10</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>
อวตาร
ละทิ้ง

Thank's Bro !!!

Related Posts ตอบกลับ มุมมอง กิจกรรม
Hide menu for all except specific group แก้ไขแล้ว
1
พ.ย. 22
3235
3
ก.ย. 22
20948
Live tracking in odoo. แก้ไขแล้ว
2
ส.ค. 22
7579
1
ม.ค. 25
9269
1
ก.ย. 21
6587