How to Create a New View Type in Odoo 17

Cybrosys Technologies


1. Create a Controller File

The main responsibility of a controller is to coordinate interactions among different elements within a view, including the Renderer, Model, Layout components, etc

View Type in Odoo 17

2. Create a Renderer file

The primary role of a renderer is to produce a visual representation of data by rendering the view, which encompasses records.

View Type in Odoo 17

3. Create an Arch Parser

The arch parser's responsibility is to parse the arch view, enabling the view to access the provided information.

View Type in Odoo 17

4. Develop the view

Develop the view by consolidating all components, then proceed to officially register it within the views registry.

View Type in Odoo 17