Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
7384 Visualizzazioni

Friends,

How to set the following domain filter as default?

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

Thanks...

Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona
Risposta migliore

           

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
feb 16
4041
1
nov 22
102
0
lug 25
774
1
mag 25
1514
1
mag 25
1701