I want to know what is the orm model function to call if my model changed without the UI event ?
I'd like to use @api.onchange('state') to execute a method. But it does not work because @api.onchange only works if the UI change value. What is the function to call if backend/background changed without the UI event ??