Hi everybody,
is there a way to change standard search behavior? The users expectations of a search field are different from what OpenERP does as I think. Whenever I confront a user with this behavior he tells me that it's strange.
If I type in search fields stuff like "Mainboard | Asus" I expect to find all names with "Mainboards" and "Asus". You all know I find all Names with "Mainboards" and all Names with "Asus".
I know about the possibility to use advanced searches but changing that behavior will serve customers expectations and make working with openerp easier.
Does anyone knows a way to change that? Couldn't find something in expressions.py or orm.py
Thanks in advance
Thanks Ray, that sounds like a handy solution.
how can be change the advance search labels ; eg: Active is changed to Present where did i edit the view
I've found the source handle the "OR" behavior. In "web/addons/web/source/src/js/search.js" search for " if (domains.length === 1) { return domains[0]; } for (var i = domains.length; --i;) { domains.unshift(['|']); }"
Thank you, that looks very interesting.
Hello Andres,
You can change search behaviour , override def _search method .
Thanks,