mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[ADD] Add help online for kanban view
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user