odoo_search
Search and read records in Odoo models with optional filters, fields, and pagination. Returns matching records along with the total domain count.
Instructions
Rechercher et lire. Renvoie aussi le total du domaine (evite un odoo_count).
Tableaux JSON : domain='[["customer_rank",">",0]]' fields='["name","email"]'.
Precise toujours fields — sans lui, des champs courants sont choisis d'office.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| model | Yes | ||
| order | No | ||
| domain | No | [] | |
| fields | No | [] | |
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |