Browse Source

Merge pull request #152 from Antiun/pr-web_tree_many2one_clicable_option_fix

[FIX] Allow set web_tree_many2one_clickable.default as True
pull/178/head
Holger Brunn 10 years ago
parent
commit
b81959e97e
  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.toLowerCase() == 'true');
} }
self.ir_option_clickable_loaded.resolve(); self.ir_option_clickable_loaded.resolve();
}); });

Loading…
Cancel
Save