[FIX] typo & imp

bzr revid: acl@openerp.com-20130507152103-0gm36pnuc4pp6wet
This commit is contained in:
Anael Closson 2013-05-07 17:21:03 +02:00
parent 74dcc49bd8
commit 9db02eae90
1 changed files with 1 additions and 1 deletions

View File

@ -1899,7 +1899,7 @@ instance.web.search.ExtendedSearchProposition = instance.web.Widget.extend(/** @
this._super(parent);
this.fields = _(fields).chain()
.map(function(val, key) { return _.extend({}, val, {'name': key}); })
.filter(function (field) { return !field.deprecated && (typeof field.store === 'undefined' || field.store || field.funct_search); })
.filter(function (field) { return !field.deprecated && (field.store === void 0 || field.store || field.fnct_search); })
.sortBy(function(field) {return field.string;})
.value();
this.attrs = {_: _, fields: this.fields, selected: null};