Skip to Content
Menu
This question has been flagged
1 Reply
2939 Views

i have my odoo 13 ce setup as a multi-companies environment.

there are 7 companies and over 500 contacts.

i read doc saying Odoo 13 should separate contacts to different company if the 'company' field is defined for contact.

however, i see this is NOT the case. Contact still visible to other users even they have no access rights to the allowed company.

For example,
contact c1 is defined for company p1
user u2 can only access company p2
but u2 can see c1?

Is this a bug? Or there is extra setting required to control the contact visibility?

Avatar
Discard
Author

Unluckily my problem of contact visibility is still there, but luckily I eventually probably found out the confusing aspect of this issue.

I would believe the Contact visibility of Odoo in a multi-companies setup is working.

The reason users still able to see contacts not belonged to their company because the 'Company' field I seen on my Odoo setup IS NOT the 'Company' required to distinguished between companies in Odoo.

Why I know?

When I create a contact via Contact Form, this contact is visible/invisible properly among companies.

However, when I import contacts from xlsx with the field 'Company' as I seen, these contacts visible to all users.

That means the 'Company' seen is not the same as the Odoo 'Company' required, (or an additional field required).

So what help?

I create a contact from Odoo Contact Form and export that contact from Action->Export and select required fields to export, there are many Company field for selection, will you know which 'Company' is the 'Company' required by Odoo security control?

Best Answer

You can restrict the allowed companies for each user under "Settings" > "Users" > "User Name". Under the tab "Access Rights" you can select which companies are allowed for this user.  If a user is allowed multiple companies you can (de)activate companies left of the username in the top right corner. Also make sure that the contacts are assigned to the correct company. I hope this answers your question.

Avatar
Discard
Author

Yes, you're right. Upon double checked the settings, the feature is work. Contacts could not be shared without permission given.

Related Posts Replies Views Activity
2
Sep 23
2103
1
Dec 22
1079
3
Nov 22
2883
1
May 22
2649
0
Feb 22
1506