if I work with multi companies, users with access to these different
companies, and tasks within the same project assigned to these
different users, they must be logged into the same company or this
error will appear, how to solve this?

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Proyectos
- MRP
Se marcó esta pregunta
Hi,
This is the warning you get due to the access rights issue. The logged in user does not have access to the model shown in the warning message, ie, res.users.
So to fix this you have to set/adjust the access rights of the system accordingly. Activate the developer mode and navigate to Settings -> Technical -> Security -> Record Rules/Access rights , and adjust the rules given for the model res.users.
Thanks
I've been experiencing the same issues. Monitoring the database I could see that
whenever user X login into company B, odoo sets res_user.company_id as company B for this user.
The table res_company_assignment_res_partner_rel column res_company_assignment_id, change from A to B as well.
So then, if user Y tries to print a receipt that was made by user X in company A; the system will throw a permission exception.
Could you share which rule gotta be set for the model res.users to get it working?
I have tried ['|',('company_id','child_of',[user.company_id.id]),('company_id','=',False)] but it didn't work.
But why this restriction in multi-companies mode?
BR
Because when you operate multiple companies, you might want to segregate what each company can see or access.
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
|
1
nov 25
|
327 | ||
|
|
3
oct 25
|
4039 | ||
|
|
2
sept 25
|
1320 | ||
|
|
2
sept 25
|
2124 | ||
|
|
1
jul 25
|
1678 |