summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-09-30 15:55:39 +0200
committerAaron Bohy <aab@odoo.com>2017-09-30 17:33:20 +0200
commit5164d30c922e3d2eba6db5764ee6035a64629d00 (patch)
tree5caac6ec6f5d5f452bc0e6435f4cdaf009a80797 /addons/web/static/src/js/views/basic
parent1cded676199bd39b2b0a477f16fd5eb39c691c3b (diff)
[FIX] web: correctly redraw x2m list after onchange
When an onchange is set on an x2many field displayed as an editable list in a form view, and the user updates one of the subrecords, the updated subrecord is kept in the DOM and updated, and all other subrecords in the relation are re-rendered and re-inserted at their correct place in the list (because the onchange might have changed them). Before this rev., the order of the subrecords after the edited one was reversed.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions