Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2556 Представления

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
13918
0
июл. 19
4418
0
апр. 22
2576
1
дек. 21
3883
0
сент. 21
214