Skip to Content
Menu
This question has been flagged



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

Avatar
Discard
Best Answer

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

Avatar
Discard
Best Answer

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"/>

Avatar
Discard
Related Posts Replies Views Activity
0
Jan 20
634
2
Apr 18
6820
0
Nov 17
3542
1
Sep 16
3703
2
Jan 16
9612