Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1606 Lượt xem

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 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello. Maybe try this instead of search_default.

{'group_by': 'user_ids'}


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhấ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!



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 25
2261
0
thg 7 25
861
1
thg 6 25
1773
3
thg 7 25
3378
1
thg 5 25
1526