Skip to documentation
Odoo integration

Get Model Fields

Perform Get Model Fields through Odoo.

View as Markdown
odoo_get_model_fields
readodoo

Inputs

  • model
    expressionrequired
    Model

    Required literal value or workflow expression.

  • custom_only
    boolean
    Custom Only

    Optional true-or-false value.

    Default: false

  • writable_only
    boolean
    Writable Only

    Optional true-or-false value.

    Default: false

  • context
    json
    Context

    Optional JSON value.

Outputs

  • modelModel
  • fieldsFields
  • field_namesField Names
  • countCount
  • 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"
  ],
  "properties": {
    "model": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "context": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "custom_only": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "writable_only": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "count": {},
    "error": {},
    "model": {},
    "fields": {},
    "success": {},
    "error_name": {},
    "field_names": {},
    "status_code": {}
  },
  "additionalProperties": true
}
View all Odoo actions