Merge pull request #423 from acsone/8.0-add-help-online-kanban-ape

[ADD][help_online] Add help online for kanban view
pull/428/head
Dave Lasley 2016-09-15 12:47:52 -07:00 committed by GitHub
commit f1e4a4455c
2 changed files with 12 additions and 0 deletions

View File

@ -28,6 +28,8 @@
'depends': [
'base',
'website',
'web',
'web_kanban',
],
'description': """
Help Online

View File

@ -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);