summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorRaphael Collet <rco@odoo.com>2018-11-30 09:45:08 +0000
committerRaphael Collet <rco@odoo.com>2018-11-30 13:34:44 +0000
commita8f4b522a324c7756626c9191eb1357db688812e (patch)
treef13f0921460095799d70035fb8c236cbca7651f1 /addons/web/static/src/js/views/basic/basic_model.js
parent95f4287b6ae741224cbb78ec588d1ed1323ee3d2 (diff)
[FIX] models: onchange sends all fields upon change in x2many
On a record with a large x2many, the web client does not load all the data of the lines (because of paging). If a line is modified by an onchange, at some point the client will determine whether lines are valid (all required fields are provided). It is possible that the client cannot evaluate the validity of the modified line because of missing fields. In order to avoid this situaion, the server sends all fields on modified lines.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions