diff options
| author | Géry Debongnie <ged@odoo.com> | 2016-06-02 15:42:06 +0200 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2016-06-02 15:43:16 +0200 |
| commit | b624dd7aa43d8df2f4f72cfcc26014f8687fdecf (patch) | |
| tree | 92b66e3c15f8062602f2ab99ca53f3bc7a7b202d | |
| parent | 5a8a17b4e033199c81e3610d53f60367c98a75ac (diff) | |
[FIX] mail: fix native notifications
because of a previous refactoring, the function send_notification stopped working
at all. It was not using the instance of the bus, but the module containing the
bus instance.
| -rw-r--r-- | addons/mail/static/src/js/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/js/utils.js b/addons/mail/static/src/js/utils.js index 301ecee3cb4..5003f442d64 100644 --- a/addons/mail/static/src/js/utils.js +++ b/addons/mail/static/src/js/utils.js @@ -1,7 +1,7 @@ odoo.define('mail.utils', function (require) { "use strict"; -var bus = require('bus.bus'); +var bus = require('bus.bus').bus; var session = require('web.session'); var web_client = require('web.web_client'); |
