Web Client

Web Client Extension

MuK IT GmbH - www.mukit.at

<<<<<<< HEAD
=======
>>>>>>> branch '11.0' of https://github.com/muk-it/muk_web.git

Overview

Extends the Odoo web client to include bus channels. Channels can be created to listen to Odoo bus notifications. To add a channel listener to the client just extend the web client and declare a new bus channel.

<<<<<<< HEAD
		    	
=======
			

			        
>>>>>>> branch '11.0' of https://github.com/muk-it/muk_web.git
var WebClient = require('web.WebClient');
var session = require('web.session');	

WebClient.include({
	show_application: function() {
		var channel = session.db + '_mychannel';
        this.bus_declare_channel(channel, this.doSomething);
        return this._super();
    },
	doSomething: function(message) {
		...
	}
});
<<<<<<< HEAD
		    	
			
=======

>>>>>>> branch '11.0' of https://github.com/muk-it/muk_web.git

Help and Support