diff options
| author | Alexandre Kühn <aku@odoo.com> | 2020-01-29 16:26:28 +0000 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2020-01-30 15:23:02 +0000 |
| commit | f61b4669a9607c3cb800d5ec33ab0001086f2d97 (patch) | |
| tree | ad12b67b70f4ee1f86ada4c7c582184afcb6f211 /doc/python3.rst | |
| parent | cd70571d84eefd38084bd599dfbdd46bde391074 (diff) | |
[FIX] mail: no traceback on click channel mention from chat window
Before this commit, when clicking on a channel mention from a chat
window, it crashed with the following error:
`TypeError: channel.detach is not a function`
This happens due to `MailService.joinChannel()` returning a promise
that is resolved with channel ID, instead of a channel object.
`channel.detach()` becomes `<Number>.detach()`, which is treated
like `undefined()`, hence crash.
closes odoo/odoo#44329
X-original-commit: 710fda06c3b30ff2267fcc1d123f15ce031b6f3a
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions
