[FIX] some accounting report do not work
lp bug: https://launchpad.net/bugs/914183 fixed bzr revid: fme@openerp.com-20120116132554-1reoy6gg4lpynsij
This commit is contained in:
parent
82619428f1
commit
2606558efa
|
@ -713,9 +713,11 @@ openerp.web.form.compute_domain = function(expr, fields) {
|
||||||
stack.push(field_value >= val);
|
stack.push(field_value >= val);
|
||||||
break;
|
break;
|
||||||
case 'in':
|
case 'in':
|
||||||
|
if (!_.isArray(val)) val = [val];
|
||||||
stack.push(_(val).contains(field_value));
|
stack.push(_(val).contains(field_value));
|
||||||
break;
|
break;
|
||||||
case 'not in':
|
case 'not in':
|
||||||
|
if (!_.isArray(val)) val = [val];
|
||||||
stack.push(!_(val).contains(field_value));
|
stack.push(!_(val).contains(field_value));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue