Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
12124 Zobrazení



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

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
led 20
634
2
dub 18
7894
0
lis 17
4253
1
zář 16
4802
2
led 16
11112