# Run Model Method

> Perform Run Model Method through Odoo.

Source: [https://genhealth.ai/docs/workflows/integrations/odoo/odoo_call_method](https://genhealth.ai/docs/workflows/integrations/odoo/odoo_call_method)

Integration: [Odoo](https://genhealth.ai/docs/workflows/integrations/odoo.md)

- Handler: `odoo_call_method`

- Connection type: `odoo`

## Inputs

- `model` — Model (expression, required)
  Required literal value or workflow expression.
- `method` — Method (text, required)
  Required text value.
- `record_ids` — Record Ids (expression)
  Optional literal value or workflow expression.
- `arguments` — Arguments (json)
  Optional JSON value.
- `context` — Context (json)
  Optional JSON value.

## Outputs

- `result` — Result
- `success` — Success
- `error` — Error
- `error_name` — Error Name
- `status_code` — Status 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

```json
{
  "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

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "result": {},
    "success": {},
    "error_name": {},
    "status_code": {}
  },
  "additionalProperties": true
}
```
