From abc31b611b3fe86e5362fe294a1b187547c2aa93 Mon Sep 17 00:00:00 2001 From: Antonio Espinosa Date: Wed, 24 Jun 2015 12:06:02 +0200 Subject: [PATCH] [FIX] Allow set web_tree_many2one_clickable.default as True --- .../static/src/js/web_tree_many2one_clickable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_tree_many2one_clickable/static/src/js/web_tree_many2one_clickable.js b/web_tree_many2one_clickable/static/src/js/web_tree_many2one_clickable.js index fef50647..f46a18e8 100644 --- a/web_tree_many2one_clickable/static/src/js/web_tree_many2one_clickable.js +++ b/web_tree_many2one_clickable/static/src/js/web_tree_many2one_clickable.js @@ -48,7 +48,7 @@ openerp.web_tree_many2one_clickable = function(instance, local) .first() .then(function(param) { if (param) { - self.use_many2one_clickable = (param.value == 'true'); + self.use_many2one_clickable = ((param.value == 'True') or (param.value == 'true')); } self.ir_option_clickable_loaded.resolve(); });