Browse Source

[FIX] Allow set web_tree_many2one_clickable.default as True

pull/152/head
Antonio Espinosa 10 years ago
parent
commit
abc31b611b
  1. 2
      web_tree_many2one_clickable/static/src/js/web_tree_many2one_clickable.js

2
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() .first()
.then(function(param) { .then(function(param) {
if (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(); self.ir_option_clickable_loaded.resolve();
}); });

Loading…
Cancel
Save