Browse Source

[ADD] Add help online for kanban view

pull/423/head
Adrien Peiffer (ACSONE) 8 years ago
parent
commit
e2d40d515a
  1. 2
      help_online/__openerp__.py
  2. 10
      help_online/static/src/js/help_online.js

2
help_online/__openerp__.py

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

10
help_online/static/src/js/help_online.js

@ -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…
Cancel
Save