Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
1617 Ansichten

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
Verwerfen
Beste Antwort

Hello. Maybe try this instead of search_default.

{'group_by': 'user_ids'}


Avatar
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Aug. 25
2289
1
Aug. 25
17
0
Juli 25
889
1
Juni 25
1830
3
Juli 25
3437