コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1759 ビュー

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

アバター
破棄
関連投稿 返信 ビュー 活動
2
10月 25
2803
1
9月 25
2823
3
7月 25
4171
1
5月 25
2263
4
5月 25
3626