Skip to Content
Menu
This question has been flagged

Hi All,

 I'd like to know is there any way that I can narrow down the list of users by adding domain filter on res.users many2one field. 

I want to show only those users in res.users many2one field by adding groups domain.

Example: 'consultant_id': fields.many2one('res.users','Consultant', domain="[('my_group','=',group_id)]"). Is it possible?

Avatar
Discard
Related Posts Replies Views Activity
1
Oct 22
2453
8
Feb 17
6976
0
Jan 17
4745
2
Feb 24
11078
4
May 24
15258