execute_method
Call any method on an Odoo model by specifying the model name and method, with optional positional and keyword arguments.
Instructions
Execute a custom method on an Odoo model
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Optional positional method arguments. | |
| model | Yes | Technical Odoo model name, for example 'res.partner'. | |
| kwargs | No | Optional keyword method arguments. | |
| method | Yes | Odoo model method to call; direct create, write, and unlink are blocked. | |
| instance | No | Optional configured Odoo instance name; uses the default if omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |