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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
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.
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się
paste your code .