odoo_execute_kw
Execute Odoo ORM methods safely through deterministic firewall rules, supporting reads, guarded draft creation, and approval-gated mutations.
Instructions
Safely execute an Odoo ORM method (execute_kw) via deterministic firewall rules.
Args: model: Odoo technical model name (e.g. 'sale.order', 'res.partner', 'account.move'). method: ORM method name (e.g. 'search_read', 'read', 'create', 'unlink', 'action_post'). args: Positional arguments (e.g. search domains, list of record IDs, or record dictionaries). kwargs: Keyword arguments (e.g. {'fields': ['name', 'amount_total'], 'limit': 10}).
Returns: JSON string or formatted message with query results or human approval status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| model | Yes | ||
| kwargs | No | ||
| method | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |