Skip to documentation
Odoo integration

List Field Choices

Perform List Field Choices through Odoo.

View as Markdown
odoo_list_field_options
readodoo

Inputs

  • model
    expressionrequired
    Model

    Required literal value or workflow expression.

  • field
    expressionrequired
    Field

    Required literal value or workflow expression.

  • relation_domain
    json
    Relation Domain

    Optional JSON value.

  • query
    text
    Query

    Optional text value.

  • max_records
    number
    Max Records

    Optional numeric value.

    Default: 200

  • context
    json
    Context

    Optional JSON value.

Outputs

  • field_typeField Type
  • relationRelation
  • optionsOptions
  • countCount
  • truncatedTruncated
  • successSuccess
  • errorError
  • error_nameError Name
  • status_codeStatus Code

Output schema completeness: best_effort_declared

Safety

External effect
read
Confirmation recommended
No
Retry safe
Yes
Dry run supported
No

Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

Input schema
{
  "type": "object",
  "required": [
    "model",
    "field"
  ],
  "properties": {
    "field": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "model": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "query": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "context": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "max_records": {
      "type": "number",
      "default": 200,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "relation_domain": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "count": {},
    "error": {},
    "options": {},
    "success": {},
    "relation": {},
    "truncated": {},
    "error_name": {},
    "field_type": {},
    "status_code": {}
  },
  "additionalProperties": true
}
View all Odoo actions