You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mathias Markl
e7faf92150
|
7 years ago | |
---|---|---|
.. | ||
doc | 7 years ago | |
i18n | 7 years ago | |
static | 7 years ago | |
template | 7 years ago | |
LICENSE | 7 years ago | |
README.md | 7 years ago | |
__init__.py | 7 years ago | |
__manifest__.py | 7 years ago |
README.md
MuK Web Client
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.
Example
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) {
...
}
});