Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
7665 Widoki

Friends,

How to set the following domain filter as default?

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

Thanks...

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

           

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
lut 16
4252
1
lis 22
102
3
wrz 25
342
1
wrz 25
1616
1
sie 25
297