Skip to Content
Menu
This question has been flagged
1 Reply
3888 Views

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
0
Mar 15
5615
2
Mar 15
4516
1
Aug 25
4652
0
Dec 24
9721
3
Sep 24
22025