Odoo ORM Methods

 

Here is all the Odoo ORM methods available 



Read Records:

Retrieve a single record:




Retrieve multiple records based on domain:




Retrieve all records:



Create Records:


Update Records:



Delete Records:



Aggregate Functions:

Count records:


Sum of fields:


Joins:

Odoo ORM doesn't use traditional SQL joins, but you can achieve similar results using related fields or prefetching.

Sorting:



Grouping:

Odoo ORM doesn't support SQL-style grouping directly, but you can achieve similar results using read_group() method.







Comments