[FIX] typo & imp
bzr revid: acl@openerp.com-20130507152103-0gm36pnuc4pp6wet
This commit is contained in:
parent
74dcc49bd8
commit
9db02eae90
|
@ -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};
|
||||
|
|
Loading…
Reference in New Issue