summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2017-09-05 10:03:52 +0200
committerNicolas Lempereur <nle@odoo.com>2017-09-19 17:49:43 +0200
commit6252c21000ad5c4c6d1eb3d5623393d267e8b70d (patch)
tree5412afcef2c2cd4cbb15b8ed8d525c70f89edf85 /addons/web/static/src/js/views/basic/basic_controller.js
parente34f6aaa26f022762c27ee62666e81e42eb1b8c5 (diff)
[FIX] web: modifiers computed when x2many ready
Modifiers (eg. required, readonly, ... on a field) are computed after a record has been changed. When loading a record they could be computed based on x2many in a inconsistent state. eg. on res.partner form, by defaut the email is required depending on: [('user_ids','!=', [])] but when switching from one record to another this was computed wrongly based on the difference between the two records. This change make the x2many when loading a record ready to be used as soon as it is set to solve this issue. forward-port: not needed after saas-15 thanks to framework views rewrite fix #18239 opw-749483 closes #18815
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions