Hello,
As I described in the title, I want to make a new report inheriting from sale.order (customized report) and omitting the layout (footer and header)
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
As I described in the title, I want to make a new report inheriting from sale.order (customized report) and omitting the layout (footer and header)
Hi,
Use the below code,
<template id="report_saleorder_document" primary="True" inherit_id="sale.report_saleorder_document">
<xpath expr="//t[@t-call='report.external_layout']" position="attributes">
<attribute name="t-call"></attribute>
</xpath>
</template>
Reference: How To Inherit And Create New Report In Odoo
Thanks
you can try using this
<div class="header"></div>
<div class="footer"></div>
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up