summaryrefslogtreecommitdiff
path: root/addons/mail_bot/models
diff options
context:
space:
mode:
authordmonzonis <mod@odoo.com>2020-05-08 10:06:13 +0000
committerThibault Delavallée <tde@odoo.com>2020-05-27 12:47:16 +0000
commit5b20117495b908bde3877c02db3ada7249eb7993 (patch)
treea47335f8f789c3ceb044bad4896ffbcd9306c0a1 /addons/mail_bot/models
parentb110bd4cbef272f311680ce8cba39b727b2d6c42 (diff)
[FIX] mail: channel_get not finding channels correctly
The channel_get method from mail.channel was not retrieving existing channels between partners correctly in some cases, which caused some annoyances, like OdooBot creating a new channel/thread each time the admin user logs in to remind them about changing the default password, instead of using an existing conversation. This was caused because because the SQL query was filtering the channels by comparing the partner ids to the result of the ARRAY_AGG function, which sometimes contains duplicates. Task ID: 2233014 PR #49661
Diffstat (limited to 'addons/mail_bot/models')
0 files changed, 0 insertions, 0 deletions