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

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?

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

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. 


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ธ.ค. 20
13744
0
ก.ค. 19
4303
0
เม.ย. 22
2445
1
ธ.ค. 21
3793
0
ก.ย. 21
214