From e2d40d515ad1926112b05c29732993e15c68834e Mon Sep 17 00:00:00 2001 From: "Adrien Peiffer (ACSONE)" Date: Thu, 15 Sep 2016 15:10:55 +0200 Subject: [PATCH] [ADD] Add help online for kanban view --- help_online/__openerp__.py | 2 ++ help_online/static/src/js/help_online.js | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/help_online/__openerp__.py b/help_online/__openerp__.py index 2d40f358..30e6b11c 100644 --- a/help_online/__openerp__.py +++ b/help_online/__openerp__.py @@ -28,6 +28,8 @@ 'depends': [ 'base', 'website', + 'web', + 'web_kanban', ], 'description': """ Help Online diff --git a/help_online/static/src/js/help_online.js b/help_online/static/src/js/help_online.js index c660a110..dca0431b 100644 --- a/help_online/static/src/js/help_online.js +++ b/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);