Skip to Content
Menu
This question has been flagged
3 Replies
2763 Views

Hi anyone please tell me  about qweb reports  , I have problem in my report i want full header in my report but it contains space how can i fill the full page please anyone help

Avatar
Discard

paste your code .

Best Answer

Hi,

If you are having a problem with space above header, you can adjust that in the

Settings >> Reports >> Paper Format

Select "European A4" Paper Format

adjust the size of "Top Margin" and "Header spacing" (Size of Header)In Paper Format.

Avatar
Discard
Best Answer

Hi,

If you are having a problem with space above header, you can adjust that in the Settings >> Reports >>Paper Format >> Top Margin.

Or if you want to create a custom header for your report, try like this. In this I have an image that becomes the header:


Eg:

<template id="report.new_layout">

<t t-call="report.new_layout_header" />

<t t-raw="0" />

<t t-call="report.new_layout_footer" />

</template>

<template id="report.new_layout_header">

<div class="header">

<div class="row">

<div class="col-xs-12">

<img src='/custom_module/static/img/header.jpg' style="width:100%;"/>

</div>

</div>

</div>

</template>

<template id="report.new_layout_footer">

<!-- footer content here -->

  </template>


If you are looking for something different just let me know more details, I can help you. I have did creating custom report templates by overriding the existing invoices, PO etc.

Avatar
Discard