[FIX] field contexts are lists of lists, not just lists (otherwise the evaluator gets screwy)

bzr revid: xmo@openerp.com-20110325124223-2q0li224uhogy52s
This commit is contained in:
Xavier Morel 2011-03-25 13:42:23 +01:00
parent 632d93afa7
commit a5d2c95cc1
1 changed files with 2 additions and 2 deletions

View File

@ -756,11 +756,11 @@ openerp.base.search.Field = openerp.base.search.Input.extend({
}
if (!this.attrs['filter_domain']) {
return [
return [[
this.attrs.name,
this.attrs.operator || this.default_operator,
this.get_value()
];
]];
}
return this.attrs['filter_domain'];
}