Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
1762 Переглядів

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
2808
1
вер. 25
2826
3
лип. 25
4177
1
трав. 25
2266
4
трав. 25
3628