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

i have a Many2many field related to a 'services' model, when i click the "Add a line" i want to apply a filter on the popup view search.
is it possible to change the behavior of the "add a line" button and the view opened?

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

Hi. Instead of changing the functionality of "add a line" button, you can restrict the access to the records to be accessed by the particular user using record rules. So, when a suitable record rule is added, the user can see only those records for which he has the access when he clicks on "add a line" in m2m field. 

If you can elaborate the requirement further, I can work on the record rule and let you know the outcome. Thanks. 


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 20
13951
0
thg 7 19
4445
0
thg 4 22
2613
1
thg 12 21
3927
0
thg 9 21
214