From a5d2c95cc16e66eae1bc3b01cdde4170f2a9409f Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Fri, 25 Mar 2011 13:42:23 +0100 Subject: [PATCH] [FIX] field contexts are lists of lists, not just lists (otherwise the evaluator gets screwy) bzr revid: xmo@openerp.com-20110325124223-2q0li224uhogy52s --- addons/base/static/openerp/js/base_views.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/base/static/openerp/js/base_views.js b/addons/base/static/openerp/js/base_views.js index 247644a5e87..e1cbef7471f 100644 --- a/addons/base/static/openerp/js/base_views.js +++ b/addons/base/static/openerp/js/base_views.js @@ -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']; }