mirror of https://github.com/OCA/web.git
[ADD] Add help online for kanban view
parent
82b9a93687
commit
e2d40d515a
|
@ -28,6 +28,8 @@
|
||||||
'depends': [
|
'depends': [
|
||||||
'base',
|
'base',
|
||||||
'website',
|
'website',
|
||||||
|
'web',
|
||||||
|
'web_kanban',
|
||||||
],
|
],
|
||||||
'description': """
|
'description': """
|
||||||
Help Online
|
Help Online
|
||||||
|
|
|
@ -41,6 +41,16 @@ openerp.help_online = function (instance) {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
instance.web_kanban.KanbanView.include({
|
||||||
|
view_loading: function(r) {
|
||||||
|
var ret = this._super(r);
|
||||||
|
if(! _.isUndefined(this.ViewManager.load_help_buttons)){
|
||||||
|
this.ViewManager.load_help_buttons();
|
||||||
|
}
|
||||||
|
return ret
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
openerp.web.FormView.include({
|
openerp.web.FormView.include({
|
||||||
view_loading: function(r) {
|
view_loading: function(r) {
|
||||||
var ret = this._super(r);
|
var ret = this._super(r);
|
||||||
|
|
Loading…
Reference in New Issue