Creating a very base level user group for manufacturing activities. I want to filter contacts to only display internal users.
As I understand I need to create a record rule. Technical name seems to be sel_groups_1_9_10 with 1 = Internal User. I'm having trouble finding the corresponding field to setup a record rule.
What is the proper way to achieve this?
The current global record rule is:
['|', '|', ('partner_share', '=', False), ('company_id', 'in', company_ids), ('company_id', '=', False)]
If I change it to:
[('partner_share', '=', False)]
I get exactly what I'm looking for except of course it's global so applies to all users.
If I create a new record rule with [('partner_share', '=', False)] and apply to the target group it doesn't restrict access.
As I've read a group rule should restrict a global rule to where they intersect
https://www.odoo.com/documentation/16.0/developer/reference/backend/security.html?highlight=rulesets%20intersect
I'm clearing doing something wrong.