diff options
| author | Alexandre Kühn <aku@odoo.com> | 2019-08-14 12:56:25 +0000 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2019-08-14 12:56:27 +0000 |
| commit | 9ea5aecee8065db286977f0289039c6a53a263e6 (patch) | |
| tree | 39a451c89bbfb7e8986b20bc720286f79b6473ec /doc/reference | |
| parent | 52ad807817a9e5e464713510ad610059c747a335 (diff) | |
[FIX] mail: receive message then delayed needaction notifications
Before this commit, when a user received a needaction notification
on a message already stored locally, it crashed with this error:
`TypeError: Cannot read property 'getThreadIDs' of undefined`
This is caused by `addMessage` returning a Promise not resolved with
the message when the message is not new. The returned promise should
always be resolved with the message, in order to be consistent.
closes odoo/odoo#35724
Signed-off-by: Martin Geubelle (mge) <mge@openerp.com>
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions
