Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

odoo12: switching between companies that have no contacts shared generates read error #62255

Open
f1-outsourcing opened this issue Nov 24, 2020 · 2 comments

Comments

@f1-outsourcing
Copy link

When I switch companies via the dropdown in the top right corner and am in the contacts view, I am getting this error. Even as administrator.

The requested operation cannot be completed due to security restrictions. Please contact your system administrator.

(Document type: Contact, Operation: read) - (Records: [3044], User: 2) 

I think this is just related to the fact that the new company tries to open the contacts from the view of the previous company. This fails of course. Better would be that this action, just opens the default contact view.

@Yenthe666
Copy link
Collaborator

Can you reproduce this on runbot.odoo.com?

@f1-outsourcing
Copy link
Author

switching to the skr company -> contacts

and then when I click create button this error:

The requested operation cannot be completed due to security restrictions. Please contact your system administrator.

(Document type: Delivery Methods, Operation: read) - (Records: [3], User: 2) 

Switching to YourCompany, searching in contacts for Azure, switching back to YourCompany is ok, no Azure contacts. However the create click results in the error listed above.

contact creation and multi companies rights seem to be active.

https://5132489-12-0.runbot41.odoo.com/web?debug=assets#action=154&model=res.partner&view_type=kanban&menu_id=116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants