Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
7644 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
4240
1
nov 22
102
3
set 25
250
1
set 25
860
1
ago 25
277