I have created two sales teams with the following team hierarchy:
- Sales Manager
- Sales Person
- Sales & Quotations
- Sales Person
I have set the access rights of team leader and members to sales/Manager and see own leads respectively. Now the issue is that the sales of one team is showing in the sales of other team. I have applied different record rules to achieve desire state, but failed to get success. I have tried different user access rights also.
Following rules I have tested which didn't worked:
[('section_id','=',user.default_section_id.id)]
[('user_id.section_id','in',[user.default_section_id.id])]
[('created_uid.section_id','=',user.default_section_id.id)]
Help me out of this headache.