odoo_call_method
Invoke any method on an Odoo model to execute workflow actions missing from dedicated tools, like moving invoices to draft or approving budgets.
Instructions
Call ANY method on an Odoo model -- the universal escape hatch.
Use this for workflow actions the dedicated tools don't wrap yet, e.g. odoo_call_method("account.move", "button_draft", [123]) or odoo_call_method("project.budget", "action_approve", [7]). ids may be empty for @api.model methods that don't act on records.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| args | No | ||
| model | Yes | ||
| kwargs | No | ||
| method | Yes |