Ir al contenido
Menú
Se marcó esta pregunta
5 Respuestas
15370 Vistas

As a user,if I use standard search view, for exemple, for searching products containing box AND blue, and not box OR blue (this is default behavior). Is it possible to override the default behavior of search with multiple values for the same field ?

Avatar
Descartar

Possible duplicate: https://www.odoo.com/forum/help-1/question/how-to-use-and-or-operators-in-advanced-filters-1130

Autor

It's not duplicate, my question is about standard search, especally on names, not Advanced. I gave an example for products but it is the same for customers. If I search for name "James" and if I add "Bond", I don't want more answers (OR operator) but a filter on answers already filtered with first query (AND operator)

Mejor respuesta

It's possible to change the filter to use all time AND and not OR? because for example when you have a lot of attributes on a product variant, you can't use the search way to select the field and then the value all time. This is very time eating and not user friendly.

Avatar
Descartar
Mejor respuesta

As far as I understand your question, the standard search view (V7) allows to search with the operator AND: you just need to create 2 successive filters the first one with products contains box and the second with products contains blue.

Avatar
Descartar
Mejor respuesta

Hi Antoine,

To make a search with AND, you have to search first a thing, and then, in Advance Search, you have to select the other word to search and click in Apply.

Here you can watch a tutorial explaining how the search box work: http://youtu.be/VmwmFlkUQ9o

Regards,

Juan José - Ing ADHOC

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
may 24
2236
1
jun 22
3166
2
dic 19
2175
3
ago 24
19479
3
jun 16
4380