From b624dd7aa43d8df2f4f72cfcc26014f8687fdecf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Thu, 2 Jun 2016 15:42:06 +0200 Subject: [PATCH] [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. --- addons/mail/static/src/js/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');