跳至內容
選單
此問題已被標幟
2737 瀏覽次數

Hello,

When we make a new ticket in helpdesk, after selecting "Helpdesk Team", for "Assigned to" field all members in all of helpdesk teams shown.

We want to change "Assigned to" in the way that just it shows members of that specific team.

I've found the relation of "Assigned to":

user_id = fields.Many2one('res.users', string='Assigned to', track_visibility='onchange', domain=lambda self: [('groups_id', 'in', self.env.ref('helpdesk.group_helpdesk_user').id)])

and I know I should change the "domain" but I don't know how to change it.

Sorry for my bad English.

Thanks.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
4月 25
3518
3
11月 23
17524
3
11月 24
25170
1
4月 23
6215
2
12月 22
6962