I have a field on my object have a relation with res.users when I use the administrator session to connect the field user_id dropdown shows me a list of users but when I was contacted by another user the dropdown empty I have created access to group user to read res_useres object but nothing happened
this is my object
class user_messaging(models.Model):
_name = 'user.messaging'
_inherit = 'mail.thread'
user_id = fields.Many2one('res.users', 'user', required=True, ondelete="restrict",
track_visibility="onchange" , domain="[('is_teacher','=', True)]")
what can I do is there any solution? can I put a list of users using self. pool. get and put on user_id?? odoo v8