تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
2776 أدوات العرض

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 .

أفضل إجابة

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.

الصورة الرمزية
إهمال
أفضل إجابة

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.

الصورة الرمزية
إهمال