create_record
Create a new record in any Odoo model by providing the model name and field values. Returns the ID of the newly created record.
Instructions
Create a new record in an Odoo model.
Args:
model: The Odoo model name (e.g. "res.partner").
values: Dict of field names to values (e.g. {"name": "Acme"}).
Returns:
The ID of the newly created record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| values | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |