summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2017-09-19 15:53:24 +0200
committerGéry Debongnie <ged@odoo.com>2017-09-20 10:05:13 +0200
commit48b8be29fa1e8c10f2ce652a768d3dcb581a53a2 (patch)
tree81a5103889e40323b35bdbabd8c04dae6c645747 /addons/web/static/tests/fields/basic_fields_tests.js
parent3136fc1643996f319faf500e303f586d18908010 (diff)
[FIX] web: update x2manys when onchange add new line
In this commit, we make sure that if an onchange in a x2many modifies another line, then the new data is properly shown. This is quite tricky, because the field x2many ignores the full extent of the changes. Also, we obviously want to preserve the editing state (focused field, ...) So, what we actually do is to rerender the full x2many (minus the new line) to make sure that we preserve the correct row order. Note: thanks to MGE for the test and some preliminary work.
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions