跳至內容
選單
此問題已被標幟
2 回覆
7389 瀏覽次數

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
4045
1
11月 22
102
0
7月 25
795
1
5月 25
1524
1
5月 25
1751