Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
4 Odgovori
2513 Prikazi


Good morning, I have a multi-company environment where I have three companies. In the first two companies I can access the contacts, but when I try to access the contacts in the third company it tells me the following:


Administrator (id=2) does not have 'read' access to:

- Contact, ALEJANDRA TIERRAFRÍA ACADEMY (res.partner: 1546, company=ALEJANDRA TIERRAFRÍA ACADEMY)


The following rules are responsible:

- res.partner company


Note: this may be a problem generated by a multi-company environment. Change companies to try to solve it.


If you need access, ask an administrator.


When I saw the error, I wanted to review the users in Settings and see which companies had access, but when I click on the user that has access to the 3 companies, I get the same error above.


I looked for solutions, but none of them are effective. Do you know of another solution?


Thanks

Avatar
Opusti
Best Answer

Hi Diana:

I'm a little confused about your issue : If you don't have access right to the 3rd company, how the record is exposed and visible to you ?

I've just tested the multi-company environment by cancelling a user's right to a certain company(for example Company C), then that user can't even see any record which company_id linked to Company C.

Anyway, my sugguestion for checking:
1、allowed companies:
Go to 'Settings' -> 'Users' -> your target user -> 'Access rights' -> 'Multi companies' -> 'Allowed companies', check if the company included in ;

2、access rights to the module:
- Go to the 'contact' module (any page/sub-menu is ok), click the bug icon (at upper right corner, need developper mode) -> 'view Access Rights', check which group has no 'Read Access' ;
- then click on that row -> in opened form, click the link at right of the field 'Group' -> in the tab 'User' ,check if your target user listed in there

Avatar
Opusti
Best Answer

Hi Diana, 

I have figured this out by selecting all of the companies you are provided access on the top right corner, next to your Profile settings. 

Once you have all the companies selected, you will then be able to read the contacts with no errors. 

It is rather odd behavior from Odoo as you would imagine as an Administrator, you could view everything, but unfortunately you need to enable all of the companies to do so. 

The problem I faced was that I cannot view my own user record in User settings until I do the above. 

Hope it helps.


Regards,

Audrey Ng

3D Photomation Pty Ltd


Avatar
Opusti
Best Answer

Hello,

I have the same issue, even if I am the Administrator. 
@Diana, did you get a solution?
Thank you

Avatar
Opusti
Avtor Best Answer

It happened that it didn't even let me access the users registered in the settings, I had to remove the company assigned in the "Company" field from the contacts of each company in the contacts module.

That left me with that, thank you very much for your kind response.


Avatar
Opusti

Sorry for not helping.

This case looks like a bit wired. Seems that your role itself is restricted with certain permissions, which need a higher role to authorize.

Anyway, please kindly share the knowledge here once you figure it out.

Related Posts Odgovori Prikazi Aktivnost
1
mar. 25
1064
0
jan. 25
1065
1
apr. 24
1704
3
feb. 24
2122
1
okt. 24
1555