Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
1672 มุมมอง

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 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello. Maybe try this instead of search_default.

{'group_by': 'user_ids'}


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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!



อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ส.ค. 25
2352
1
ส.ค. 25
125
0
ก.ค. 25
941
1
มิ.ย. 25
1888
3
ก.ค. 25
3492