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

How can I edit the search view to search in all fields (Name, City, ZIP, e.g.) of my contacts?

アバター
破棄
著作者 最善の回答

Create an inherited view of the res.partner.select view and add one line per field that you like to search. For example:

<?xml version="1.0"?>
<filter string="Country" position="after">
<filter string="City" context="{'group_by': 'city'}"/>
<field name="street" filter_domain="[('street','ilike',self)]"/>
<field name="zip" filter_domain="[('zip','ilike',self)]"/>
<field name="city" filter_domain="[('city','ilike',self)]"/>
<field name="comment" filter_domain="[('comment','ilike',self)]"/>
</filter>
アバター
破棄
関連投稿 返信 ビュー 活動
1
7月 23
1778
2
4月 21
15272
0
12月 16
2453
5
10月 16
12313
2
11月 15
10424