List View In Odoo 14
LIST VIEW IN ODOO 14
In Odoo, views are ways via which models/objects get displayed to the end-user. Views of different types and each view represent a mode of visualization, and these turn the modules more user-friendly.
In our concept you can change the view type of forms here we needed a list view for our form,
Now you can add one record form list view
Syntax as follows:,
<record model="ir.ui.view" id="use one id"> <field name="name">you can mension anything</field> <field name="model">class name</field> <field name="arch" type="xml"> <tree string="String name"> <field_name=field_name> </tree> </field> </record>