Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
503 Vistas

hi everyone.
i have setup multi company in odoo 14. i wanted do that user can see their company's user in user screen except admin so that i have made one record rule and one group so that when record rule to that user ., user can see only there's allowed company's user only.here domain of the record rule is ['|',('company_id','=',False),('company_id', 'in', company_ids)]

but issue that while login with that user and refresh the screen this 

Due to security restrictions, you are not allowed to access 'Users' (res.users) records. 

Records: OdooBot (id=1) User: falguni (id=4746) 

This restriction is due to the following rules: - Res Users multi-company 

Note: this might be a multi-company issue. Contact your administrator to request access if necessary.

thank you in adavance

Avatar
Descartar
Mejor respuesta

I think it will cause problems if the user does not have access to the administrator / OdooBot because of messages in chatter etc.

So maybe you need to allow access to those users as well as the normal users.

What is the business objective?

Avatar
Descartar