Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
5 Trả lời
15458 Lượt xem

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 ?

Ảnh đại diện
Huỷ bỏ

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

Tác giả

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)

Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 5 24
2358
1
thg 6 22
3307
2
thg 12 19
2175
3
thg 8 24
19628
3
thg 6 16
4455