Vidhin Mehta (OpenERP) has proposed merging
lp:~openerp-dev/openerp-web/trunk-opw-581723-port-vme into lp:openerp-web.
Requested reviews:
OpenERP R&D Web Team (openerp-dev-web)
For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-opw-581723-port-vme/+merge/136118
In advance filter, removed the fields *which are not searchable or on which
fnct_search is false or store is false* for issue no.574881 and check if fields
are selectable true than display in advance filter like gtk for issue no.581723.
To reproduce issue check descripion of these branches.
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-574881-msh/+merge/106739
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-581723-cpa/+merge/133642
--
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-opw-581723-port-vme/+merge/136118
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openerp-web/trunk-opw-581723-port-vme.
=== modified file 'addons/web/static/src/js/search.js'
--- addons/web/static/src/js/search.js 2012-11-21 13:56:57 +0000
+++ addons/web/static/src/js/search.js 2012-11-26 09:37:26 +0000
@@ -1778,6 +1778,7 @@
this._super(parent);
this.fields = _(fields).chain()
.map(function(val, key) { return _.extend({}, val, {'name': key}); })
+ .filter(function(field){return (typeof field.store === 'undefined' || field.store || field.fnct_search) && (field.selectable)})
.sortBy(function(field) {return field.string;})
.value();
this.attrs = {_: _, fields: this.fields, selected: null};
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp