DEV Community

Jeevachaithanyan Sivanandan
Jeevachaithanyan Sivanandan

Posted on

Odoo : get only internal users

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)]",   
    )
Enter fullscreen mode Exit fullscreen mode

Top comments (0)