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

Asked by elver on 2010-02-10

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:

http://www.openobject.com/forum/topic14612.html

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo GTK Client (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
2010-02-10
Last reply:
2010-02-11

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}

Thanks.

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.