summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorKhoi Nguyen <bng@odoo.com>2017-08-03 09:25:16 +0200
committerKhoi Nguyen <bng@odoo.com>2017-08-04 11:31:58 +0200
commitc300e5ede781f16b7d00cdcbc6bad227b265dd6b (patch)
treef2692078bb6dd4301809531a1059ae338e4750a8 /addons/web/static/src/js/views/basic/basic_model.js
parentd19671f0d0ff7189055cbe0794afed32f8a387e6 (diff)
[FIX] web: reload right record when editing a many2one inside an x2many
Before this revision, editing a many2one inside an x2many field did not cause an update of the x2many field upon saving. This is due to the fact that a field on a screen was deemed affected by a record change only if its value or a directly related record has been updated. This present revision looks for changes recursively, thereby including the case where an x2many field contains a many2one. The bug appeared for example in Manufacturing, when editing the product name of a BOM line.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions