I'm facing a issue with the company header, the company info is using a lot of space and in the invoices the information of the client is covered by the header.
It is possible to inherit the external layout and out the background transparent ?
For decrease header space i think you may not need to change into external layout.
you can decrease Top Margin (mm) and header_spacing from Paper Formate as per your need. from "Settings >> Technical >> Reports >> Paper Format"
And if you want to set-up by code then create new paper format as per your need and link with your report.
For create New paper Format:
<record id="paperformat_custom" model="report.paperformat">
<field name="name">European A4</field>
<field name="default" eval="True" />
<field name="header_line" eval="False" />
For link-up existing paper format with report:
<record id="<report_id>" model="ir.actions.report.xml">
<field name="paperformat_id" ref="paperformat_custom"/>
Hope this helps.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 7/15/16, 5:28 AM|
|Seen: 236 times|
|Last updated: 7/16/16, 1:03 AM|