Skip to documentation
Odoo integration

Run Model Method

Perform Run Model Method through Odoo.

View as Markdown
odoo_call_method
writeodoo

Inputs

  • model
    expressionrequired
    Model

    Required literal value or workflow expression.

  • method
    textrequired
    Method

    Required text value.

  • record_ids
    expression
    Record Ids

    Optional literal value or workflow expression.

  • arguments
    json
    Arguments

    Optional JSON value.

  • context
    json
    Context

    Optional JSON value.

Outputs

  • resultResult
  • successSuccess
  • errorError
  • error_nameError Name
  • status_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
}
View all Odoo actions