Is it possible to increase the top margin of the report body for sales.order reports?
How should it be done?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Is it possible to increase the top margin of the report body for sales.order reports?
How should it be done?
I finally did this to increase initial space of the body:
<div class="col-xs-12">
<br/><br/><br/>
</div>
I did not want to modify the default paperformat and I tried top:20px without success (in different places). I also do not understand why should I specify pixels for dealing with printed document.
If changing paper format doesn't help you, you can go to Settings > Reports and search sale for sales.order reports.
Click on Search associated QWeb views and select report_saleorder_document.
In the first div you can use style="top:20px" and your report should have margin top.
Hope that helps you. Suerte!
Unfortunately this did not work. I tried in the div class="page" and in the first div class="row" of the body. No success. I also do not really understand how pixels should be translated to an A4 PDF.
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
0
ก.ย. 15
|
5944 | ||
|
0
ธ.ค. 17
|
3949 | ||
|
1
ก.ย. 17
|
5506 | ||
|
2
ก.พ. 17
|
7601 | ||
|
1
ส.ค. 16
|
17077 |
Have a look at paper formats under Settings / Reports / Paperformats :) You can control the footer and header its spacing there.
Thanks Yenthe, I was looking for a way to increase space in a custom report without modifying the paper format, but obviously that would fit the issue.