[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);
|
||||
break;
|
||||
case 'in':
|
||||
if (!_.isArray(val)) val = [val];
|
||||
stack.push(_(val).contains(field_value));
|
||||
break;
|
||||
case 'not in':
|
||||
if (!_.isArray(val)) val = [val];
|
||||
stack.push(!_(val).contains(field_value));
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue