diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-11-07 09:35:51 +0000 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-11-07 09:35:54 +0000 |
| commit | b3e450abcac1b0457eae69d35c1d929ffd626a21 (patch) | |
| tree | 6dcfd63f22b64448c03cf1f27fac6c2904fda413 /addons/web/static/src/js/views/graph/graph_controller.js | |
| parent | 8efa9e5fe9e8748b3a264a89416ef90c9b8d2683 (diff) | |
[FIX] mail: open inbox on preview click not linked to any document
Before this commit, when the user clicked on a preview in the systray
messaging menu that is not linked to any document, there was a
traceback.
Steps to reproduce:
- Admin sets notification management to "Handle with Odoo"
- Demo user assigns Admin to a task
- Admin clicks on preview from being assigned to a task
Those are previews from notifications received from the inbox,
which are not related to any document. It attempts to open a
document that does not exists (i.e. no model/id).
With this commit, when such a preview is not linked to any
document, it now opens Discuss with Inbox.
Task-ID 1891350
Diffstat (limited to 'addons/web/static/src/js/views/graph/graph_controller.js')
0 files changed, 0 insertions, 0 deletions
