跳至内容
菜单
此问题已终结
2 回复
7429 查看

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
4069
1
11月 22
102
0
7月 25
834
1
5月 25
1565
1
5月 25
2010