summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache
diff options
context:
space:
mode:
authorThibault Francois <tfr@openerp.com>2020-06-26 12:09:21 +0000
committerThibault Francois <tfr@openerp.com>2020-07-10 10:34:00 +0000
commit585a28b89abfed2f693801da9eda96b2f057a819 (patch)
treef75975d214d3e8b0aa2b632cf600df12e680e849 /addons/mail/static/src/models/thread_cache
parentc767df5e978f218cd0c1c7dc9219d3655e320fab (diff)
[FIX] im_livechat: performance issue with _compute_nbr_channel
filtered(lambda c: c.channel_message_ids) take more than 2 minutes to get executed with a regular user due to access_right check for every single message. Solution: use the previous read_group with the domain channel_message_ids != False which is equivalent closes odoo/odoo#54318 X-original-commit: b4dcfc3e273c40c53cbf778152cf38fabb39a096 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache')
0 files changed, 0 insertions, 0 deletions