odoo_create
Create one record on any Odoo model and get its new ID. Use this for models lacking dedicated accounting tools.
Instructions
Create ONE record on any model. Returns the new record's id.
Example: odoo_create("res.partner", {"name": "Acme LLC"}). For accounting documents prefer the dedicated accounting.* tools (they set up lines/taxes/journals correctly) -- use this for anything they don't cover.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| values | Yes |