Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
23122 Widoki

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,

Awatar
Odrzuć

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 .....

Najlepsza odpowiedź

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>
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
gru 20
6720
3
gru 16
9858
1
mar 15
7933
1
kwi 25
1236
2
mar 25
1411