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

Hello,

I want to create 1 parrent Company with 2 Sub Companies. If configured all like documented. My new User has access to the parrent company and to 1 sub company. I created a product in the sub company. now i try to access to this product within the parrent company. But there are not visible. If i try to create an new product in the subcompany within the parrent company i get an access error. "product template, write". If I login with the admin account i can access from the parrent company to the product of the sub company. What is wrong with my configuration? or its not planed to be possible?

best regards

Michael Berg

Avatar
Descartar
Autor Mejor respuesta

Ok,

i found the solution by my self. I changed the settings in settings->security->security for files. I replaced the entry "protuot multi company" with

['|','|',('company_id.child_ids','child_of',[user.company_id.id]),('company_id','child_of',[user.company_id.id]),('company_id','=',False)]

Now i can view and edit the products of an sub company.

best regards

Michael Berg

 

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
mar 21
2850
0
dic 18
4588
2
dic 23
17075
1
abr 24
2290
0
oct 23
1365