Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
7370 Prikazi

Friends,

How to set the following domain filter as default?

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

Thanks...

Avatar
Opusti
Best Answer

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

Avatar
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
feb. 16
4023
1
nov. 22
102
0
jul. 25
670
1
maj 25
1436
1
maj 25
1566