Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
12106 Widoki



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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sty 20
634
2
kwi 18
7893
0
lis 17
4244
1
wrz 16
4793
2
sty 16
11090