3
0
Fork 0

Use toLowerCase() instead another comparator

9.0
Antonio Espinosa 2015-06-25 08:36:55 +02:00
parent abc31b611b
commit 0d7c5b07c2
1 changed files with 1 additions and 1 deletions

View File

@ -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') or (param.value == 'true'));
self.use_many2one_clickable = (param.value.toLowerCase() == 'true');
}
self.ir_option_clickable_loaded.resolve();
});