call_method
Execute any public method on an Odoo model by specifying the model, method, optional record IDs, and keyword arguments.
Instructions
Call any public method on an Odoo model.
Use get_model_doc first to discover the correct parameter names and types.
Args:
model: The Odoo model name (e.g. "sale.order").
method: The method name (e.g. "action_confirm").
ids: Optional list of record IDs to operate on.
params: Optional dict of keyword arguments passed to the method.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| method | Yes | ||
| ids | No | ||
| params | No |