mirror of https://github.com/OCA/web.git
[FIX] Allow set web_tree_many2one_clickable.default as True
parent
4d5ea4cfea
commit
8b095a871a
|
@ -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…
Reference in New Issue