Skip to main content
Glama

search_records

Search for records in Odoo 19 models using flexible domain filters, specify return fields, and control pagination with sorting options.

Instructions

Search for records in an Odoo model.

Args: model: Model name (e.g., 'res.partner') domain: Odoo search domain (list of conditions). Examples: - Simple: [["name", "=", "John"]] - Multiple (AND): [["is_company", "=", True], ["active", "=", True]] - OR condition: ["|", ["name", "ilike", "test"], ["email", "ilike", "test"]] - any (Odoo 19+): [["order_line", "any", [["product_uom_qty", ">", 5]]]] - Operators: =, !=, >, >=, <, <=, like, ilike, in, not in, child_of, any fields: Fields to return (None = auto-exclude dangerous fields like binary/image/html) limit: Maximum number of records offset: Number of records to skip order: Sort order (e.g., 'name asc', 'create_date desc')

Returns: JSON with records, total count, limit, and offset. Each record includes a '_url' field for direct browser access.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYes
domainNo
fieldsNo
limitNo
offsetNo
orderNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/twtrubiks/odoo19-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server