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

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.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
dub 25
3241
3
lis 23
17333
3
lis 24
24974
1
dub 23
6086
2
pro 22
6831