Skip to Content
Menú
This question has been flagged
2 Respostes
1527 Vistes

Hey guys, im trying to make a filter that looks like this

'search_default_user_ids': [context.get('uid')]}
field name="user_ids" string="Employee"

                                                                 

But now i want to make that the employees cant delete it, is there a way to make it invisible or non editable i dont find any info here TY 

Avatar
Descartar
Best Answer

Hello. Maybe try this instead of search_default.

{'group_by': 'user_ids'}


Avatar
Descartar
Best Answer

Hey Marcos ,       You can use groups tag on this filter it will show only to that specific group to which you want show use like this(groups = stock.your_group_name).                   Thanks hope it will help you!



Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
d’ag. 25
2152
0
de jul. 25
714
1
de juny 25
1543
3
de jul. 25
3214
1
de maig 25
1364