Launch offer
Business website $150 USD Custom plugin $200 USD Ready in 5 days
Get a quote
Odoo

@api.onchange in Odoo

Trigger client-side value suggestions when fields change on a form.

@api.onchange in Odoo — a practical guide to Odoo @api.onchange with clear examples you can reuse in real projects.

Odoo Tutorial Series (64/112). Prefer one article? Read the complete Odoo tutorial.

Short description

Return warnings/domains dicts for richer UX.

@api.onchange tip

UI only — not a security gate
Can return {'warning': {...}, 'domain': {...}}
Keep logic light

Leave a reply

Your email address will not be published. Required fields are marked *