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?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 1/12/15, 8:20 AM|
|Seen: 645 times|
|Last updated: 3/16/15, 8:10 AM|