Web Client

Web Client Extension

MuK IT GmbH - www.mukit.at

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.

		    	
var WebClient = require('web.WebClient');
var session = require('web.session');	

WebClient.include({
    show_application: function() {
        var channel = 'mychannel';
        this.bus_declare_channel(channel, this.doSomething);
        return this._super.apply(this, arguments);
    },
	doSomething: function(message) {
		...
	}
});
		    	
			

Demo

User:
apps
Password:
demo
Live Preview

Help and Support

Feel free to contact us, if you need any help with your Odoo integration or addiontal features.
Email Contact Support