If you need to get a list of users who are only internal users then use the below code
internal_users= fields.Many2one(
'res.users',
string='Internal Users',
domain="[('share','=',False)]",
)
If you need to get a list of users who are only internal users then use the below code
internal_users= fields.Many2one(
'res.users',
string='Internal Users',
domain="[('share','=',False)]",
)