2015-06-17 17:35 GMT+02:00 Mariano Ramon <[email protected]>: > Could you point me in the client code where I can fiddle with this? >
I do not know, but would actually be interested in this kind of feature ! Another question, that I guess is server side: Where can I define which > columns are searched in those fields?. I couldn't find the default > criteria. I know you can use the FILTER option in the top left, but now I > have many cases where that the included columns in the plain search needs > to be customized. I have one case that the search doesn't bring any results > if not using the filter specifying which column to search. Probably a bug > of the downloaded module but I don't know where to look to fix it. > Default search like this one is mapped to the "rec_name" field. You can either set it to an existing field : class MyModel(...): _rec_name = 'name' Will map the rec_name field to the 'name' field, so any search on rec_name will be the same than a search on name. For something more complicated, you can override "search_rec_name" to do the search the way you like. Jean Cavallo *Coopengo*
