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

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
4235
1
11月 22
102
3
9月 25
217
1
9月 25
440
1
8月 25
254