How to Create New Report Layouts In Odoo 16
Odoo provides several default layouts, such as “web.external_layout” and “web.internal_layout”, among others. These predefined layouts could be utilized while generating reports. It is also possible to employ these existing template layouts as a basis for creating new custom report layouts.
Today, with this blog, we aim to guide you through the process of crafting a fresh report layout using Odoo’s custom report functionality.
To create a new custom layout we need to create a new template
In the image below, I created one XML file for the custom layout.
I have added the company logo, company name, and website in the report header, and added the page number in the footer.
Then, I created a custom template "custom_report_layout" and you can call this template into your reports.
The report looks like this.
This step-by-step guide and insights provided in this blog will serve as a guiding light as you kickstart your journey of crafting your own report layouts within Odoo.
Don't settle for ordinary. Elevate your reports with extraordinary layouts tailored just for you.
Get in touch with us!
Your email address will not be published.
|
Deep Bundela - 16 Aug 2023 Very useful to for the report customisation. |