[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.
This commit is contained in:
Géry Debongnie
2016-06-02 15:43:16 +02:00
parent 5a8a17b4e0
commit b624dd7aa4
+1 -1
View File
@@ -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');