summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_renderer.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-04-03 11:53:38 +0200
committerAaron Bohy <aab@odoo.com>2017-04-11 19:44:38 +0200
commit2bca6535849295e76029b0c237b6367e1162d23a (patch)
tree4f03e6d18fcfcfda53cc18b9614f3297635d0c40 /addons/web/static/src/js/views/basic/basic_renderer.js
parent2932aa64bcd03014706e97705921503eac89f348 (diff)
[FIX] web: BasicModel: correctly generate x2many commands
This commit fixes two problems. First, the commands weren't correctly generated for relational fields inside relational fields. For example, if a form view contained a one2many containing itself a many2many, the commands weren't generated for the many2many inside the one2many. Thus, it's value couldn't be saved. Second, when doing an onchange RPC, all record data should be sent to the server, not only what have changed. Before this rev., for x2many fields, commands were sent only if the field had changed.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions