Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
4 Replies
2531 Tampilan


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
Buang
Jawaban Terbai

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
Buang
Jawaban Terbai

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
Buang
Jawaban Terbai

Hello,

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

Avatar
Buang
Penulis Jawaban Terbai

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
Buang

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.

Post Terkait Replies Tampilan Aktivitas
1
Mar 25
1068
0
Jan 25
1087
1
Apr 24
1736
3
Feb 24
2132
1
Okt 24
1562