跳至內容
選單
此問題已被標幟
4 回覆
19327 瀏覽次數

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 !!!

相關帖文 回覆 瀏覽次數 活動
1
11月 22
2856
3
9月 22
20446
2
8月 22
7143
1
1月 25
8757
1
9月 21
6149