Skip to Content
Menu
This question has been flagged
1 Reply
1232 Views

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
2
Dec 24
3118
1
Dec 24
345
4
Nov 24
1363
1
Sep 24
1133
1
Sep 24
1198