EP-19: What are Relational Fields in Odoo 18 | Odoo 18 Relational Fields Tutorials | Odoo 18 Videos

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



Duration: 0:00
97 views
9


In Odoo, relational fields are fields that create a relationship between models (i.e., between different database tables). They’re used to link records from one model to another. This is one of the most powerful features in Odoo’s ORM (Object-Relational Mapping), making it easy to define and manage relationships between different business objects.

There are three main types of relational fields in Odoo:

Many2One (many2one)
 Each record in the current model is linked to one record in another model.

On the Sales Order model, the Customer field is a Many2One field pointing at the Contact model. This allows many sales orders to be linked to one contact (customer).

One2Many (one2many)
 A record in the current model can be linked to many records in another model.
It’s the inverse of Many2one.

Requires a Many2one field on the related model to work.

You could add a One2Many field on the Contact model to look at one customer’s many sales orders.

Lines: The Lines field is used to create a table with rows and columns (e.g., the lines of products on a sales order).

Many2Many (many2many)
The Many2Many field is used to link multiple records from another model to multiple records on the current model.

Example: A product can have multiple tags, and a tag can be used on multiple products.

#Odoo18 #RelationalFields #OdooTutorial #OdooDevelopment #OdooTechnical #NewFeatures #ERP #OpenSource #Odoo18 #Odoo18Tutorial #Odoo18Development #Odoo18ERP #Odoo18TechnicalTutorial #Odoo18RelationalFields #OdooMany2one #OdooOne2many #OdooMany2many #Odoo18Features #Odoo18Release #OdooPython


Connect With Us:
—————————————
➡ ️ Websitehttps://www.cybrosys.com/m/
➡ ️ Email: info@cybrosys.com
➡ ️ Twihttps://twitter.com/cybrosysosys  
➡ ️ Lihttps://www.linkedin.com/company/cybrosys/brosys  
➡ ️ https://www.facebook.com/cybrosystechnologiesnologies  
➡ ️ https://www.instagram.com/cybrosystech/brosystech  
https://pinterest.com/cybrosys/  / cybrosys  




Other Videos By Cybrosys Technologies


4 days agoHow to Create a Shift Using Pre-Created Shift Templates in Odoo 18 Planning | Odoo 18 Planning
4 days agoHow to Setup Time Off Request in Odoo 18 Time Off | Odoo 18 Time Off Tutorials | Odoo 18 Features
5 days agoHow to Access Revenue Report in Odoo 18 Events | Odoo 18 Events | Odoo 18 Tutorials | Odoo 18
5 days agoEP-20: What are the General Properties of a Field in Odoo 18 | What are Fields in Odoo 18 | Odoo 18
6 days agoHow to Add a New Line in Odoo 18 Time Sheet | Odoo 18 Time Sheet Shorts | Odoo 18 Functional Videos
6 days agoAuto Plan Feature in Odoo 18 Planning Module | Odoo 18 Features | Odoo 18 Planning Tutorials
6 days agoHow to Create a Spreadsheet in Odoo 18 | Odoo 18 Documents Tutorials | Odoo 18 Features | Odoo 18
2025-05-04Improved UI/UX in Odoo 18.2 Purchase | Odoo 19 Features | Odoo 18.2 Purchase Tutorials | Odoo 19
2025-05-03How to Set Dark Mode in Odoo 18.2 POS | Odoo 19 New Features | Odoo 18.2 Tutorials | Odoo 19 Videos
2025-05-02Recompute Column Width in Odoo 18.2 | Odoo 19 New Features | Odoo 19 Tutorials | Odoo 18.2 Features
2025-05-02EP-19: What are Relational Fields in Odoo 18 | Odoo 18 Relational Fields Tutorials | Odoo 18 Videos
2025-04-30How to Organize Order into Course in Odoo 18.2 | Odoo 19 Tutorials | Odoo 18.2 Features | Odoo 19
2025-04-30Failure Location in Quality Control Points (QCP) | Odoo 18.2 Tutorials | Odoo 19 Features | Odoo 18
2025-04-29How to Add Line in Odoo 18 Time Sheet | Odoo 18 Time Sheet Tutorials | Odoo 18 Shorts |Odoo 18 Video
2025-04-29EP-18 What are Fields in Odoo 18 | Simple Fields Part 2 | Odoo 18 Development Tutorials | Odoo 18
2025-04-28How to Install Odoo 18 on Ubuntu 24.04 LTS Server | Installation of Odoo 18 in Server | Odoo 18
2025-04-28Access Partner Report in Odoo 18.2 | Odoo 19 Features | Odoo 18.2 Tutorials | Odoo 19 Release Date
2025-04-27How to Set Lead Priority Filter in Odoo 18.2 CRM | Odoo 19 Features | Odoo 18.2 Tutorials | Odoo 19
2025-04-26How to Create a Project in Odoo 18 Project Module | Odoo 18 Project Tutorials | Odoo 18 Shorts
2025-04-25How to Update Product On-Hand Quantity in Odoo 18.2 | Odoo 19 Features | Odoo 18.2 Tutorials
2025-04-24Latest Features in Odoo 19 | Techtonic - Odoo 19 Upcoming Features | Odoo 19 Expected Features