Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
16449 Weergaven

Hello,
I have override footer report like this :

<template id="external_footer_custom" inherit_id="report.external_layout_footer">
<xpath expr="//div[@class='footer']" position="replace">     <div class="footer">     <div class="text-center" style="padding-bottom:15px"> <img style="display:inline-block;margin-right:30px" src="/mikeb_modele/static/images/eco-artisan.jpg" /> <img style="display:inline-block;margin-right:20px" src="/mikeb_modele/static/images/rge-sol.png" /> <img style="display:inline-block;margin-right:20px" src="/mikeb_modele/static/images/rge-pac.png" /> <img style="display:inline-block;margin-right:20px" src="/mikeb_modele/static/images/rge-pv.png" /> <img style="display:inline-block" src="/mikeb_modele/static/images/rge-bois.png" /> </div> <div class="text-center" style="border-top: 1px solid black;font-size:0.6em"> Adresse du siège: <span t-field="company.street" /> <span t-field="company.zip" /> <span t-field="company.city" /><br /> <span t-field="company.partner_id.comment" /><br /> Tel: <span t-field="company.phone" /> - Fax: <span t-field="company.fax" /><br /> Siret: <span t-field="company.siret" /> - Ape: <span t-field="company.ape" /><br /> TVA intracommunautaire: <span t-field="company.vat" /> </div> <div class="row" style="margin:10px 0px;"></div>     </div> </xpath>

My problem is the footer is too high and a part of the footer is outside the page !
how can i change the "y position" of the footer ?

Thank you!

Avatar
Annuleer

You should go with paperformat for increase the height of the footer.

Beste antwoord

you can add paper format; and you change "margin_bottom".

<record id="paperformat_frenchcheck" model="report.paperformat">
    <field name="name">French Bank Check</field>
    <field name="default" eval="True"/>
    <field name="format">custom</field>
    <field name="page_height">80</field>
    <field name="page_width">175</field>
    <field name="orientation">Portrait</field>
    <field name="margin_top">3</field>
    <field name="margin_bottom">3</field>
    <field name="margin_left">3</field>
    <field name="margin_right">3</field>
    <field name="header_line" eval="False"/>
    <field name="header_spacing">3</field>
    <field name="dpi">80</field>
</record>

<record id="module.report_id" model="ir.actions.report.xml">

<field name="paperformat_id" ref="module.paperformat_frenchcheck/>

</record>


 

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
dec. 17
3526
1
sep. 17
5006
2
feb. 17
7051
0
jan. 16
3262
3
jul. 15
3847