跳至內容
選單
此問題已被標幟
1 回覆
5690 瀏覽次數
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.


頭像
捨棄
最佳答案

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
9月 16
48
3
10月 16
3622
0
3月 15
3645
2
5月 24
1417
1
2月 19
2967