Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
12109 Vistas



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

Avatar
Descartar
Mejor respuesta

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
ene 20
634
2
abr 18
7893
0
nov 17
4245
1
sept 16
4795
2
ene 16
11091