コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
11855 ビュー

Is it possible to increase the top margin of the report body for sales.order reports?

How should it be done?    

アバター
破棄

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.

著作者 最善の回答

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.

関連投稿 返信 ビュー 活動
0
9月 15
5496
0
12月 17
3568
1
9月 17
5055
2
2月 17
7117
1
8月 16
16537