diff options
| author | Géry Debongnie <ged@odoo.com> | 2018-11-30 08:13:48 +0000 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2018-11-30 08:53:31 +0000 |
| commit | f6c104d2e55baa11a9316861e7f4f10784c6f093 (patch) | |
| tree | 0644b01836c25329bd5c576c020f2f27c95a3916 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | ba9b5ce12b617ca9fcc99533f613468a0987ac58 (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
