summaryrefslogtreecommitdiff
path: root/doc/reference/javascript.rst
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2015-02-09 17:35:17 +0100
committerRaphael Collet <rco@openerp.com>2015-02-10 13:12:40 +0100
commit2067a206ecba9a8dbf7f76a55926be964e580e7e (patch)
tree923f3f709fc63cf9ae7dc7a3aab67c77ed058e0e /doc/reference/javascript.rst
parent372f4a82d5c4e4081953fbd2ee9654f9ae301f80 (diff)
[FIX] models: process onchange methods on new records in the order of the view
The onchange() on new records processes fields in non-predictable order. This is problematic when onchange methods are designed to be applied after each other. The expected order is presumed to be the one of the fields in the view. In order to implement this behavior, the JS client invokes method onchange() with the list of fields (in view order) instead of False. The server then uses that order for evaluating the onchange methods. This fixes #4897.
Diffstat (limited to 'doc/reference/javascript.rst')
0 files changed, 0 insertions, 0 deletions