forked from Techsystech/web
[ADD] Add help online for kanban view
parent
82b9a93687
commit
e2d40d515a
|
@ -28,6 +28,8 @@
|
|||
'depends': [
|
||||
'base',
|
||||
'website',
|
||||
'web',
|
||||
'web_kanban',
|
||||
],
|
||||
'description': """
|
||||
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({
|
||||
view_loading: function(r) {
|
||||
var ret = this._super(r);
|
||||
|
|
Loading…
Reference in New Issue