From 03d5ad54066672bf8beb99f0c518669f723a1ee7 Mon Sep 17 00:00:00 2001 From: David Beal Date: Wed, 22 Jul 2015 19:34:08 +0200 Subject: [PATCH] [FIX] display popup if action is undefined --- help_popup/static/src/js/popup_help.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/help_popup/static/src/js/popup_help.js b/help_popup/static/src/js/popup_help.js index 6d773286..82d6b9de 100644 --- a/help_popup/static/src/js/popup_help.js +++ b/help_popup/static/src/js/popup_help.js @@ -12,7 +12,9 @@ openerp.help_popup = function(instance, local) { return true; } $elem.data('click-init', true); - if (self.action.custom_help == '' && self.action.owner_help == '') { + //alert('ee' + self.action) + console.log(self.action.id) + if (self.action.id == undefined || (self.action.custom_help == '' && self.action.owner_help == '')) { self.$el.find('span.view_help').hide() } $elem.on('click', function(e) {