跳至内容
菜单
此问题已终结
1 回复
2622 查看

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. 


形象
丢弃
相关帖文 回复 查看 活动
1
12月 20
14012
0
7月 19
4478
0
4月 22
2670
1
12月 21
3977
0
9月 21
214