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

How do you limit a user too see leads from only the company he is part of, not all leads in the system.

Example :

Company C is part of Company B which is Part of Company A.

User has been registered as user in Company C and assigned only to see details from that company.

User is set to see All leads in the system but he only has permission for company C.

After the details are saved, the user can see the leads for company B and A and also leads for company B1 that is not connected in any way with company C.

Avatar
Descartar
Mejor respuesta

check security/record rules - normally there is something like ['|','|',('company_id.child_ids','child_of',[user.company_id.id]),('company_id','child_of',[user.company_id.id]),('company_id','=',False)]

to cover this

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 15
5567
2
mar 15
4464
1
ago 25
4436
0
dic 24
9665
3
sept 24
21917