跳至內容
選單
此問題已被標幟
2 回覆
1575 瀏覽次數

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
8月 25
2243
0
7月 25
814
1
6月 25
1682
3
7月 25
3307
1
5月 25
1451