call_onchange
Simulate a form change to get Odoo-computed values for your inputs without saving anything, so you can preview change results before writing.
Instructions
Simulate a form change and return the values Odoo would compute. Saves nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Technical model name, e.g. 'res.partner' | |
| values | Yes | Current form values | |
| field_names | No | Fields that changed (default: keys of values) | |
| fields_spec | No | Optional onchange spec |