Hi all,
I would like some guidance regarding the configuration to allow internal users to see only the contacts for which they are assigned as Salesman.
I have added a record rule: "User can update own contacts" with the domain filter [('user_id', '=', user.id)] with access rights for Read, Write, Create and Delete on the Contacts model. The record rule is assigned to the group Sales / User: Own Documents Only
According to https://www.odoo.com/forum/help-1/restrict-users-to-see-only-his-own-contacts-155427 the res.partner.rule.private.employee rule can be removed.
Now, removing this rule does help, but with the rule removed, the user can not login. Trying to login with the rule disabled, results in an access error:
Does anyone have suggestions on how to resolve this?
Regards
Ignatius