Hi,
in sale order i want to create a new report without header and footer but i should keep the original report that containt header footer.
Is this possbile.
Regards
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
in sale order i want to create a new report without header and footer but i should keep the original report that containt header footer.
Is this possbile.
Regards
The header and footer are defined as a separate template in the report module. See report/view/layout_templates.xml. Odoo defines two header templates as standard: external_layout and internal_layout. Internal layout is very simple.
Sale order report uses the template external_layout in its definition:
<template id="report_saleorder_document">
<t t-call="report.external_layout">
...
</t>
</template>
If you define new SO report with <t t-call="report.internal_layout">, footer and header will be differen and simple.
You can also define a new report that will not call any prepared layout.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
You can create more than one report for the same model.
Yes i know but can we create one without header and footer and one with header and footer in the same model