Skip to Content
Menú
This question has been flagged
2 Respostes
7330 Vistes

Friends,

How to set the following domain filter as default?

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

Thanks...

Avatar
Descartar
Best Answer

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

Avatar
Descartar
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
Descartar
Related Posts Respostes Vistes Activitat
2
de febr. 16
3980
1
de nov. 22
102
1
de maig 25
1126
1
de maig 25
1155
2
de març 25
1110