This question has been flagged
1 Reply
1336 Views

Hi!

I'm trying my vendors only can access to their customers (each customer is assign in his form as "commercial"). I had try a test database, creating a record rule

contact (res.partner)

with the domain ['|',('user_id','=',user.id),('user_id','=',False)] in the group "users: only can see own documents" and it works fine.
But in my deploy database don't works: rule only works as "global", but then that applies to all users than need access all customers.

How can I fix this or how can I search what rule may be overwrite mine?
Thanks for your help.

[edit]
Where I wrote "each customer is assign in his form as 'commercial'", I mean "each customer is assing in his form in the field 'user_id'"

Avatar
Discard
Author Best Answer

Answer myself.

I search what rules be in my system to the object "res.partner" and compare them with rules in my test system. I found some rules related to "Access to Private Addresses", so I market them as inactive and now my system works fine.

Thanks.

Avatar
Discard