Skip to Content
Menu
This question has been flagged
1 Reply
4407 Views
Due to security restrictions, you are not allowed to access the registered 'Department' (hr.department). Records: False (id=166) User..........
This restriction is due to the following rules: - Departmental multi-company rule Note: this could be a multi-company problem. Contact your administrator to request access if needed.


Avatar
Discard
Best Answer

hr.department model has a field called company_id
By default, this company_id field is filled by the current active company of the user on creation.
If this hr.department record, or a record of any other model which links to this hr.department record, is accessed by another user, odoo will look for access right if current user has access to the particular company_id

It seems you have multi-company enabled, so grant company access to the user by Settings/Users & Companies/Users, and select the user, and give access to company.

Avatar
Discard
Related Posts Replies Views Activity
2
Sep 16
48
3
Oct 16
2635
0
Mar 15
2837
2
May 24
465
1
Feb 19
2236