summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/underscore
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2015-02-19 15:09:49 +0100
committerRaphael Collet <rco@openerp.com>2015-02-21 11:29:13 +0100
commit121b8e6800498fa8939282ad1dd2db258a0b06b5 (patch)
tree78d9e7f5aa4ce78aa2144784f98371f547cb6087 /addons/web/static/lib/underscore
parentd350f5b59e8905a76e965b6f34a0db14dbb53af0 (diff)
[FIX] models: in onchange, false changes where detected in many2many fields
This was due to secondary fields loaded from database in 'onchange' mode. In that mode, the secondary fields were marked 'dirty', and therefore returned by the method `onchange`. The fix consists in loading those secondary fields in cache before processing the onchanges. This incidentally fixes a test on method `onchange`: in a one2many field, some dirty fields were unexpectedly returned in the result. This was due to those fields being loaded while processing onchanges.
Diffstat (limited to 'addons/web/static/lib/underscore')
0 files changed, 0 insertions, 0 deletions