Skip to Content
Menu
This question has been flagged
2 Replies
7483 Rodiniai

Friends,

How to set the following domain filter as default?

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

Thanks...

Portretas
Atmesti
Best Answer

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

Portretas
Atmesti
Best Answer

           

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
vas. 16
4105
1
lapkr. 22
102
1
rugp. 25
8
0
liep. 25
888
1
geg. 25
1626