Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
1583 Visualizzazioni

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
Abbandona
Risposta migliore

Hello. Maybe try this instead of search_default.

{'group_by': 'user_ids'}


Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
ago 25
2250
0
lug 25
824
1
giu 25
1696
3
lug 25
3325
1
mag 25
1462