Custom header <div class="header"> overlaps with report body <div class="page"> in custom sales.order report
I have prepared a custom sales order report, including a new brand header.
Unfortunatelly header overlaps PDF report page body.
What should I do to ensure there is no overlapping between header and body?
I also think the best way is to do it with the Paper Format. I usually create a new paperformat.xml in the data folder of my custom module. There you can inherit the record, so you don't have to change it by hand and it will stay the same no matter where you install your custom module:
<record id="report.paperformat_euro" model="report.paperformat">
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: 9/24/15, 1:37 PM|
|Seen: 927 times|
|Last updated: 9/29/15, 3:30 AM|