Run Model Method
Perform Run Model Method through Odoo.
odoo_call_methodwriteodoo
Inputs
- Model
modelexpressionrequiredRequired literal value or workflow expression.
- Method
methodtextrequiredRequired text value.
- Record Ids
record_idsexpressionOptional literal value or workflow expression.
- Arguments
argumentsjsonOptional JSON value.
- Context
contextjsonOptional JSON value.
Outputs
resultResultsuccessSuccesserrorErrorerror_nameError Namestatus_codeStatus Code
Output schema completeness: best_effort_declared
Safety
- External effect
- write
- Confirmation recommended
- No
- Retry safe
- No
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"required": [
"model",
"method"
],
"properties": {
"model": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"method": {
"type": "string",
"description": "Required text value.",
"x-workflow-field-type": "text"
},
"context": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"arguments": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"record_ids": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"result": {},
"success": {},
"error_name": {},
"status_code": {}
},
"additionalProperties": true
}