summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2018-11-30 08:13:48 +0000
committerGéry Debongnie <ged@odoo.com>2018-11-30 08:53:31 +0000
commitf6c104d2e55baa11a9316861e7f4f10784c6f093 (patch)
tree0644b01836c25329bd5c576c020f2f27c95a3916 /addons/web/static/src/js/fields/basic_fields.js
parentba9b5ce12b617ca9fcc99533f613468a0987ac58 (diff)
[IMP] web: do not eval modifiers if not necessary
Before this commit, the web client evaluated all modifiers (readonly/invisible/required) in some cases, even if it only needed one of them. This is clearly not optimal, and I even suppose that for large o2m, it could even have a noticeable effect on web client perceived speed This commit simply make sure that we evaluate only what we need in those cases. Note that it is not really a testable improvement, hence the lack of tests. closes odoo/odoo#29171
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions