Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
4444 Weergaven

I wanna create a "domain_force" with a complex condition (with me). That is a sale person can read, update (write) but not delete records of an other sale person if the in a team. And delete permission will be available only for own records

my code (need to update):

Verify team sale['|', '|', ('user_id', '=', user.id), ('team_id.user_id', '=', user.id),('team_id.member_ids', '=', user.id)]  

I need your help because I don't really understand '|', '&', '&amp'. Thank you so much

Avatar
Annuleer
Beste antwoord

Hi,

Create a new record rule for sales user group and add domain force like this. So the user can see his own team members orders.


Regards

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
feb. 24
2129
1
okt. 21
2723
9
sep. 21
18284
1
mrt. 15
4402
0
mrt. 15
3812