Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
7634 Vues

Friends,

How to set the following domain filter as default?

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

Thanks...

Avatar
Ignorer
Meilleure réponse

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

Avatar
Ignorer
Meilleure réponse

           

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
Ignorer
Publications associées Réponses Vues Activité
2
févr. 16
4236
1
nov. 22
102
3
sept. 25
234
1
sept. 25
507
1
août 25
260