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?
คำถามนี้ถูกตั้งค่าสถานะ
1
ตอบกลับ
4247
มุมมอง
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
|
16200 | ||
|
|
0
ก.ค. 19
|
6738 | ||
|
|
0
เม.ย. 22
|
4535 | ||
|
|
1
ธ.ค. 21
|
5581 | ||
|
|
0
ก.ย. 21
|
214 |