Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
1496 Tampilan

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
Buang
Jawaban Terbai

Hello. Maybe try this instead of search_default.

{'group_by': 'user_ids'}


Avatar
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
2
Agu 25
2117
0
Jul 25
657
1
Jun 25
1490
3
Jul 25
3188
1
Mei 25
1317