i added this field in my custom module
class DailyTarget(models.Model):
_name = 'user.target'
_description = 'User Target'
agent_id = fields.Many2one('res.partner')
i need to get only partners in agent_id which are users too.
which are exists in res.users only