[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:
Fabien Meghazi 2012-01-16 14:25:54 +01:00
parent 82619428f1
commit 2606558efa
1 changed files with 2 additions and 0 deletions

View File

@ -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: