[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:
parent
632d93afa7
commit
a5d2c95cc1
|
@ -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'];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue