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

Hello everyone,

I need to filter the dropdown list items that appear at the "Assigned to" field of the "New Ticket" form in Odoo 16.

I thought it could be done using the "Manage Filters" option at developer's menu:

Is it possible to add a filter to the "Assigned to" field of the "New Ticket" form that only shows some records and not all contacts in Odoo?

Thank you!

Аватар
Отменить
Лучший ответ

"Assigned to" field in helpdesk has a domain to filter users and the domain use this computed field domain_user_ids to retrieve the users so you can override _compute_domain_user_ids compute method to apply your logic.


Or you can inherit the helpdesk form view and override the domain attribute of the "Assigned to" field.


If you have Odoo Custom Plan subscription, you can customize the form view using Odoo studio, otherwise you can develop your own custom addons to do that or using UI to inherit the form view.




Аватар
Отменить
Автор

Hello Waleed,
thank you very much for your fast answer, but I'm really new to Odoo, so I'm not used to modifying Odoo's default behavior.
Could you please develop a little bit more your answer? Where and how can I modify Odoo's default logic? Can I do that in the Developer's "Manage Filters" option in Odoo? Do I have to change anything directly at Odoo's code?
Thank you for your help!

I have updated my answer

Related Posts Ответы Просмотры Активность
2
мар. 25
6851
0
сент. 24
872
Todays Filter Решено
2
февр. 24
9935
3
мая 23
4618
1
авг. 21
2755