Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1733 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
2
oct. 25
2778
1
sept. 25
2786
3
juil. 25
4156
1
mai 25
2251
4
mai 25
3603