Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
23140 มุมมอง

Hi everyone,

I have modified header view to get personnalized report header.

But I do not know how to increase space between my new header and the beginning of the page (customer address for example).

Any idea ?

Regards,

อวตาร
ละทิ้ง

Go to Settings > Reports > Paper format. Choose the paper format you're using and play around with those margins. I believe the top margin is the one controlling your height for the report header.

Yenthe answered the correct .....

คำตอบที่ดีที่สุด

Did you try by adjusting the top margin of your div containing customer address?

For eg:

<template id="report.new_layout_header">
<div class="header">

<div class="row">
<div class="col-xs-12">
<div style="border-bottom: 1px solid black;"></div>
</div>
</div>
<div class="row mt8 mb8">
<div class="col-xs-5">
<div t-field="company.partner_id"
t-field-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": true}'
style="border:1px solid #000000;"/>
</div>
</div>

</div>
</template>
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ธ.ค. 20
6735
QWeb Report Can't Access Company Fields แก้ไขแล้ว
3
ธ.ค. 16
9882
1
มี.ค. 15
7939
1
เม.ย. 25
1250
2
มี.ค. 25
1431