Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1710 Weergaven

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

Avatar
Annuleer
Beste antwoord

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"/>

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
okt. 25
2764
1
sep. 25
2772
3
jul. 25
4145
1
mei 25
2238
4
mei 25
3593