Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
7396 Vistas

Friends,

How to set the following domain filter as default?

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

Thanks...

Avatar
Descartar
Mejor respuesta

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

Avatar
Descartar
Mejor respuesta

           

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
feb 16
4049
1
nov 22
102
0
jul 25
800
1
may 25
1529
1
may 25
1776