İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
1518 Görünümler

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
Vazgeç
En İyi Yanıt

Hello. Maybe try this instead of search_default.

{'group_by': 'user_ids'}


Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Ağu 25
2144
0
Tem 25
701
1
Haz 25
1525
3
Tem 25
3208
1
May 25
1355