I need to capture changes in field 'stage_id' in model 'crm.lead' and trigger a function. More specifically, it needs to work when the Opportunity stage is changed via kanban view.
I tried using @api.depends... but it looks like these @api.depends functions are only triggered if there is a field 'X' with _compute pointing to such function. But I need that field 'X' to be manually modifiable (and it looks _compute prevents it).
Can this be handle in any way?
OK, typing error: I typed '_compute=' in fields definition instead of 'compute='.