summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-04-14 22:24:51 +0200
committerGéry Debongnie <ged@odoo.com>2017-04-15 15:00:04 +0200
commitf6c20c61d62708478bc75246a644d0982eeadd08 (patch)
tree61e0e16d1d1f88e37b6d6bd210b949357b2fd19d /addons/web/static/src/js/fields
parentbf29aab3bad81c0f99b471b1ed0d42804c13abbe (diff)
[FIX] web: BasicModel: correctly apply onchanges result
Onchange results weren't correctly applied for many2manys, and for x2manys inside x2manys. More precisely, if an onchange RPC returned a command 4 (link to) for a many2many field, this command was ignored. If it returned nested commands (commands 0, 1 or 4 inside commands 0 or 1), they were ignored as well. The function that applies the result of an onchange is now recursive, and it handles commands 0, 1, 4 and 5.
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions