Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1728 Представления

i want to set a filter option in the search part, i know how to do a filter or group.


when the user write one letter, can view the new option, like this
https://gyazo.com/9fd55a905680d261657529673242e51e

Аватар
Отменить
Лучший ответ

Hi Jorge:

Add a <field..../>with a filter_domain. "self" is the value that the user types in the search box.

For example,

<field name="name" filter_domain="['|', ('name','ilike',self), ('field_description','ilike',self)]" string="Field"/>

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
окт. 25
2774
1
сент. 25
2783
3
июл. 25
4152
1
мая 25
2248
4
мая 25
3596