Skip to content
Snippets Groups Projects
Commit 14eed232 authored by Alexandre Kühn's avatar Alexandre Kühn
Browse files

[FIX] mail: this.env.services.bus_service is undefined


Before this commit, a page reload or a redirect could raise following
error:

```
Uncaught (in promise) TypeError: this.env.services.bus_service is undefined
```

This happens due to `Messaging` model relying on `bus_service` in its
teardown method `_willDelete`. This is sometimes unsafe because the
bus service may not have been deployed yet.

Task-2468469

closes odoo/odoo#66857

X-original-commit: a444f9c8
Signed-off-by: default avatarSébastien Theys (seb) <seb@odoo.com>
Signed-off-by: default avatarAlexandre Kühn (aku) <aku@odoo.com>
parent f241fc65
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment