تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
1572 أدوات العرض

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!



الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
أغسطس 25
2241
0
يوليو 25
806
1
يونيو 25
1680
3
يوليو 25
3304
1
مايو 25
1447