diff options
| author | Sébastien Theys <seb@odoo.com> | 2019-06-26 11:24:08 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2019-06-26 11:24:08 +0000 |
| commit | 9150c3d2c9b3e0af241cb45f710bfcb59d9cb7a1 (patch) | |
| tree | 9f3b46c8330d4b98e82fc463d79b32b8920b0d79 /doc/reference/javascript_reference.rst | |
| parent | 383bca994c111a788b017db46051c303ecf641a7 (diff) | |
[IMP] mail: improve performance of Followers _invalidate_documents
If `self` contains around 1000 records, this reduces the time of the method by
a factor of 10 when `read` is necessary, and by 200 when using the values from
`vals_list` and no additional query is needed at all.
This speeds up the creation of all models using `mail.thread`.
Part of task-1918881
closes odoo/odoo#34274
Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
