Module orm

Source
Expand description

The Odoo “ORM” pseudo-service

This isn’t really an Odoo “service”, but instead is another layer of abstraction over the object execute and execute_kw methods, providing a nicer interface with better type checking.

Structs§

CheckAccessRights
Check model access rights (according to ir.model.access)
CheckAccessRightsResponse
Response to a CheckAccessRights request
CheckAccessRules
Check model access rules (according to ir.rule)
CheckAccessRulesResponse
CheckFieldAccessRights
Check the user access rights on the given fields
CheckFieldAccessRightsResponse
The response to a CheckFieldAccessRights request
Copy
Copy a record
CopyResponse
Create
Create a new record (or set of records)
CreateResponse
The response to a Create requests
Exists
Check if the record(s) exist in the Odoo database
ExistsResponse
The response to an Exists call
GetExternalId
Fetch the XMLID for the given record(s)
GetExternalIdResponse
The response to a GetExternalId request
GetMetadata
Return some metadata about the given record(s)
GetMetadataResponse
The response to a GetMetadata request
GetXmlId
Fetch the XMLID for the given record(s)
GetXmlIdResponse
The response to a GetXmlId request
NameCreate
Create a new record, passing only the name field
NameCreateResponse
NameGet
Fetch the display_naame for the given record(s)
NameGetResponse
The response to a NameGet request
NameGetResponseItem
An individual NameGet response item
NameSearch
Search for records based on their name field
NameSearchResponse
NameSearchResponseItem
Read
Read data from a record (or set of records)
ReadGroup
Read some grouped data from a record (or set of records)
ReadGroupResponse
The response to a ReadGroup request
ReadResponse
The response to a Read request
Search
Return the ids of records matching a domain
SearchCount
Return the count of records matching a domain
SearchCountResponse
The response to a SearchCount request
SearchRead
Perform a search and read in one call
SearchReadResponse
SearchResponse
The response to a Search request
Unlink
Delete a record (or set of records)
UnlinkResponse
Write
Write data to a record (or set of records)
WriteResponse
The response to a Write request

Enums§

AccessOperation
An access operation type
CreateResponseItem
Container for the CreateResponse items
CreateVals
The values to a Create request