Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
7382 Zobrazení

Friends,

How to set the following domain filter as default?

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

Thanks...

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Nejlepší odpověď

           

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
úno 16
4038
1
lis 22
102
0
čvc 25
765
1
kvě 25
1509
ADD PROPERTIES Vyřešeno
1
kvě 25
1680