Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
1582 Vues

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
Ignorer
Meilleure réponse

Hello. Maybe try this instead of search_default.

{'group_by': 'user_ids'}


Avatar
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
2
août 25
2249
0
juil. 25
823
1
juin 25
1694
3
juil. 25
3321
1
mai 25
1461