The slide will show how to define Many2One fields in Odoo 17. Relational field is the main tool that makes the integration between different models possible, which is a very important and useful feature in Odoo.
2. Introduction
Enterprise
The slide will show how to define Many2One fields in Odoo 17.
Relational field is the main tool that makes the integration
between different models possible, which is a very important
and useful feature in Odoo.
3. Enterprise
● A Many2One field relates the current model's record with
one among the many records of the second model, called
the co-model
● The main parameter of the field is “comodel_name”,
which is name of related model.
● Many2One fields have the “id” as suffix.
4. Enterprise
● Here we are relating our model with”res.partner” model
and name the field as Officer.
● We must now provide it in views.
6. For More Info.
Check our company website for related
blogs and Odoo book.
Check our YouTube channel for
functional and technical videos in Odoo.
Enterprise
www.cybrosys.com