diff options
| author | Toufik Benjaa <tbe@odoo.com> | 2018-08-22 17:59:22 +0200 |
|---|---|---|
| committer | Toufik Benjaa <tbe@odoo.com> | 2018-08-22 17:59:22 +0200 |
| commit | 81f975d3f48239ee0722fb3892112db6915e7964 (patch) | |
| tree | bb74151303ceea41864952141f1740d81f8f387e /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | f750393030502723b9de7b5efaf272f7f73b9472 (diff) | |
[FIX] mail: channel_get return wrong channel when duplicate partners
- In some cases (merge of partners, etc ...) there might be mail.channel
that have two mail.channel.partner with the same res.partner.
When you try to open a discuss window with a partner for which you
have no existing mail.channel.
The channel opened is the one where your partner is duplicated.
This is due to the fact that the SQL request to find the mail.channel
doesn't take in account that a mail.channel may have twice the same
partner.
To fix this issue, we try to exactly match the partners we search.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
