Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
1501 Widoki

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 

Awatar
Odrzuć
Najlepsza odpowiedź

Hello. Maybe try this instead of search_default.

{'group_by': 'user_ids'}


Awatar
Odrzuć
Najlepsza odpowiedź

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!



Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
sie 25
2124
0
lip 25
670
1
cze 25
1498
3
lip 25
3193
1
maj 25
1331