**************************Remember to back up before this operation.*****************************
"res.partner.rule.private.employee" this rule is very important an dangerous .
we have some problem in this file "res.partner.rule.private.employee" in record rules.
step 1: go to developer mode
step2:in "users and companies" menu open groups and create one group in same name:"Administration / sales own contact " and add your custom sales users to this group and create one rule by "custom name" and this text rule "['|',('user_id','=',user.id),('user_id','=',False)]" and add your custom sale user to this group.
step3:in "users and companies" menu create new group of all users and add "res.partner.rule.private.employee" to this group. attention to that ,you must add all internal users to this group without sale user.
step 4:in technical menu open records rule and search for this "res.partner.rule.private.employee" and remove "User types/internal user" group from groups list.now you must have only one new rule by "custom name" that created in step 2.
in simple explain :i remove "res.partner.rule.private.employee" from "internal/user" and set to new group for all users except "limited users". and set one new rule by new group for limit users by this rule:"['|',('user_id','=',user.id),('user_id','=',False)]"
attention to that sale user haven't this rule in any group "res.partner.rule.private.employee" but all another users have have this rule in new group that made by you .
good luck :)
paste the whole ir.rule record so that the community can help.
thanks
its not working
Hi Lbrahim
I can not add an image to the post. How to show you whole ir.rule, thank you for your response.