execute_method
Execute any method on any Odoo model by specifying the model name, method, and optional positional and keyword arguments. Directly call Odoo functions for custom operations.
Instructions
Execute any method on an Odoo model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model name (e.g., 'res.partner') | |
| method | Yes | Method name to execute | |
| args | No | Positional arguments for the method | |
| kwargs | No | Keyword arguments for the method |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |