Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1713 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
říj 25
2764
1
zář 25
2772
3
čvc 25
4145
1
kvě 25
2238
4
kvě 25
3593