[FIX] eq/neq of arrays in compute_domain

bzr revid: xmo@openerp.com-20121128134142-eywfsl3bv56pvoso
This commit is contained in:
Xavier Morel 2012-11-28 14:41:42 +01:00
commit ddcce477d7
1 changed files with 2 additions and 2 deletions

View File

@ -1681,11 +1681,11 @@ instance.web.form.compute_domain = function(expr, fields) {
switch (op.toLowerCase()) { switch (op.toLowerCase()) {
case '=': case '=':
case '==': case '==':
stack.push(field_value == val); stack.push(_.isEqual(field_value, val));
break; break;
case '!=': case '!=':
case '<>': case '<>':
stack.push(field_value != val); stack.push(!_.isEqual(field_value, val));
break; break;
case '<': case '<':
stack.push(field_value < val); stack.push(field_value < val);