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>
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.