on_change is not triggered when the value is changed by the server

Asked by elver

When a function on the server is called via an on_change event and the called function changes the values of some fields, then the on_change events of those fields are not triggered even though the values of those fields are changed.

This is roughly what I'm trying to achieve:


Question information

English Edit question
Odoo GTK Client (MOVED TO GITHUB) Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) said :

Hello Elver,

You may choose to use Warning module.
If not, you may opt for this little change in your own onchange method.

warning = {
                    'title': 'Pop UP',
                    'message': ' Your Message',
return {'value': Your dictionary, 'warning':warning}


Can you help with this problem?

Provide an answer of your own, or ask elver for more information if necessary.

To post a message you must log in.