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

Friends,

How to set the following domain filter as default?

                 <filter string="file numbers" domain="[('file_no','ilike','TN%')]"/>

Thanks...

アバター
破棄
最善の回答

you can create a record rule for you module if you are using multi company 

アバター
破棄
最善の回答

           

1.provide name to filter
   <filter string="file numbers" name="file_numbers"  domain="[('file_no','ilike','TN%')]"/>


2. pass the filter in the context like this to the action window

<field name="context">{"search_default_file_numbersl":1}</field>

--->Hope this helps you

アバター
破棄
関連投稿 返信 ビュー 活動
2
2月 16
4050
1
11月 22
102
0
7月 25
802
1
5月 25
1529
1
5月 25
1787