Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2522 Zobrazení

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?

Avatar
Zrušit
Nejlepší odpověď

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. 


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
pro 20
13901
0
čvc 19
4392
0
dub 22
2523
1
pro 21
3854
0
zář 21
214