Odoo Help

0

Problem in qweb reports

By
Arunagiri
on 11/22/14, 2:21 AM 825 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

paste your code .

Demirel yakito
on 4/28/15, 7:40 AM
4
Jaydeep Barot (jar)
On 4/29/15, 7:19 AM

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.

1
Akhil P Sivan
On 4/29/15, 4:13 AM

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.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 11/22/14, 2:21 AM
Seen: 825 times
Last updated: 4/29/15, 7:19 AM