how to filter a many2one field based on groups in odoo
<p>I have a many2one field refering to the res.users model. I have two groups, manager and user. Based on the the group how can i filter the users. So that the many2one field give only either manager or user? </p>