summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/model
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2020-07-31 10:52:43 +0000
committerSébastien Theys <seb@odoo.com>2020-07-31 14:43:15 +0000
commit7a1bfa793a6e0d47b1574cd9cc44f6dd00d910f2 (patch)
treeb27e6617ce5498f189b262fa820a09f7dc3f2c18 /addons/mail/static/src/models/model
parent64f71868439681a408d2f73a8537e08d1d2161b7 (diff)
[FIX] mail: fix performance of JS models update cycle
- wrap all JS model operations in update cycle - properly delay execution of compute during `_updateAfter` This allows to delay the execution of computes as long as possible, which significantly improves performance, especially during init_messaging with plenty of chat windows (due to compute of "visual"). PR: #55261 Part of task-2308312 X-original-commit: 79f85523ebef6b7ac4c198eec8b1e55e243f49d1
Diffstat (limited to 'addons/mail/static/src/models/model')
0 files changed, 0 insertions, 0 deletions