跳至内容
菜单
此问题已终结



Here above my company name  been overlap by custom address, How i can increase the height of header.

形象
丢弃
最佳答案

Hi,

You can adjust the header size either from the code or from user interface.


If you like to do it from user interface, what you have to do is that, activate developer mode and navigate to

Settings -> Technical -> Reporting -> Reporting  and from their select your report and check whether it have got a paper format, if not assign a paper format for it and open the paper format , now inside the paper format , there you can see a field named header spacing. There you can adjust the spacing.


Thanks

形象
丢弃
最佳答案

You can create a custom paper format for your reports, and then set it to a report, for example.

<record id="paperformat_euro_lowmargin" model="report.paperformat">
<field name="name">European A4 low margin</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">5</field>
<field name="margin_left">5</field>
<field name="margin_right">5</field>
<field name="header_line" eval="False"/>
<field name="header_spacing">0</field>
<field name="dpi">80</field>
</record>
<report
id="report_event_registration_badge"
model="event.registration"
string="Registration Badge"
report_type="qweb-pdf"
name="event.event_registration_report_template_badge"
file="event.event_registration_report_template_badge"
paperformat="event.paperformat_euro_lowmargin"/>

形象
丢弃
相关帖文 回复 查看 活动
0
1月 20
634
2
4月 18
7893
0
11月 17
4246
1
9月 16
4796
2
1月 16
11096