summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/messaging_initializer/messaging_initializer.js
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2020-08-26 09:49:03 +0000
committerSébastien Theys <seb@odoo.com>2020-08-27 14:40:36 +0000
commite0b24070cee3dc10db582d6d917651676dc9d4c6 (patch)
tree3fc603a4f6fda2781bb43e2d30cfb014cde1ea5d /addons/mail/static/src/models/messaging_initializer/messaging_initializer.js
parent77820f6d44746d12a0fe708c5a7004ede256014b (diff)
[FIX] mail, test_mail: fix `channel_get` result
- flush must be done before executing queries - when the current partner is given, it shouldn't be checked twice - when a channel includes the given partners but also has more partners, it shouldn't be returned - query can be limited to 1 result, minor performance gain in the rare case where more than one canonical channel exists task-2324119 closes odoo/odoo#56674 X-original-commit: b716dd9e62991997e03556f2d3e2483921fedef9 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/messaging_initializer/messaging_initializer.js')
0 files changed, 0 insertions, 0 deletions