How To Add Relational Fields Using Odoo 14 Studio?

Subscribers:
28,000
Published on ● Video Link: https://www.youtube.com/watch?v=FtO7zvC6DD8



Category:
Guide
Duration: 23:33
1,506 views
2


Odoo Studio lets you add several different field types, including the following relational fields:

Related fields: This is normally used to add more information from another related Model (database table). It has to be information from a Model that is already linked.
many2one:
This will create a new database relationship (in this example it’s between a product and a country).

If you drag the many2one icon onto the Form View, Odoo will display a list of all models (tables). The model you select will be linked to the current model (as a parent).

many2many:
This is similar to many2one (i.e. creates a new database relationship), except that multiple records can be selected.

These are sometimes displayed as ‘tags’, as shown on Contacts:

The process to add a many2many field is almost the same as many2one (described above), except that you will need to choose a different ‘widget’.

Selection of ‘widgets’ for a many2many field
The default ‘widget’ (many-to-many) is a list, which is probably not what you want. More information on the other widgets is here.

one2many: This is used if a “parent-child” relationship has already been defined for this table, but is not displayed on the Form View. #odoo #odoo14 #odoostudio







Tags:
odoo apps
odoo studio
odoo 14 studio
odoo relational fields using odoo studio
how to add fields using odoo 14 studio?
adding fields using odoo 14 studio
odoo relational fields
odoo 14 tutorials
form view using odoo 14 studio
relational fields in odoo 14
odoo 14 relational fields
odoo relational field add in xml file
odoo fields
odoo fields tutorial
odoo 14
fields in odoo 14
one2many fields in odoo 14
odoo 14 development
odoo related field
studio