diff options
| author | Toufik Ben Jaa <tbe@odoo.com> | 2019-05-09 11:10:12 +0000 |
|---|---|---|
| committer | Toufik Ben Jaa <tbe@odoo.com> | 2019-05-09 11:10:12 +0000 |
| commit | 9530f1071d816d76194ee57711192f709e4d4d19 (patch) | |
| tree | a8a29feb9d133553b40ff4909ad6862409a55b66 /addons/web/static/src/js/chrome/abstract_web_client.js | |
| parent | e244fa23ade0944d578e2b843eed856e1c327d57 (diff) | |
[FIX] mail: avoid crash when calling `channel_info` in `mail.channel`
- If a channel has only the current user as the partner the method `channel_info` crashes.
This can happen in the case of a partner talks to an other partner in
discuss.
Then these two partners are merged using the CRM partner merge
feature.
The channel has now the same partner in the channel twice.
The current code doesn't handle this case and crashes.
closes odoo/odoo#33274
Signed-off-by: Christophe Simonis <chs@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/chrome/abstract_web_client.js')
0 files changed, 0 insertions, 0 deletions
