Skip to Content
Menu
This question has been flagged
2 Replies
7737 Zobrazenia

Friends,

How to set the following domain filter as default?

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

Thanks...

Avatar
Zrušiť
Best Answer

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

Avatar
Zrušiť
Best Answer

           

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

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
2
feb 16
4314
1
nov 22
102
3
sep 25
480
1
sep 25
1909
1
aug 25
349