Skip to documentation
Odoo integration

Search Records

Perform Search Records through Odoo.

View as Markdown
odoo_search_records
readodoo

Inputs

  • model
    expressionrequired
    Model

    Required literal value or workflow expression.

  • match_fields
    json
    Match Fields

    Optional JSON value.

  • domain
    json
    Domain

    Optional JSON value.

  • fields
    expression
    Fields

    Optional literal value or workflow expression.

  • order
    text
    Order

    Optional text value.

  • max_records
    number
    Max Records

    Optional numeric value.

    Default: 100

  • offset
    number
    Offset

    Optional numeric value.

    Default: 0

  • include_archived
    boolean
    Include Archived

    Optional true-or-false value.

    Default: false

  • context
    json
    Context

    Optional JSON value.

Outputs

  • recordsRecords
  • record_idsRecord Ids
  • countCount
  • successSuccess
  • errorError
  • error_nameError Name
  • status_codeStatus Code
  • foundFound
  • truncatedTruncated
  • first_record_idFirst Record Id
  • first_recordFirst Record

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"
  ],
  "properties": {
    "model": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "order": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "domain": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "fields": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "offset": {
      "type": "number",
      "default": 0,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "context": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "max_records": {
      "type": "number",
      "default": 100,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "match_fields": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "include_archived": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "count": {},
    "error": {},
    "found": {},
    "records": {},
    "success": {},
    "truncated": {},
    "error_name": {},
    "record_ids": {},
    "status_code": {},
    "first_record": {},
    "first_record_id": {}
  },
  "additionalProperties": true
}
View all Odoo actions