跳至内容
菜单
此问题已终结
2 回复
4040 查看

I need assistance with the Leave Allocations under the leaves app. 

I can create Leave Types, however when trying to set a leave allocation I get the following error(s):

Odoo Server Error - Access Error
The requested operation cannot be completed due to security restrictions. Please contact your system administrator.

(Document type: res.users, Operation: read) 

From the server logs:
​odoo.models: The requested operation cannot be completed due to record rules: Document type: res.users, Operation: read, Records: 45,1, User: 45

I see that people recommend adding res.users to the user group or changing access rights / record rules. I have tried adding it at all possible locations and still receive the same error. 

Any help or assistance would be greatly appreciated. 


形象
丢弃
编写者 最佳答案

Thank you Jagdish. 

I already have that permission (manager) on the user in question. 

形象
丢弃
最佳答案

Hello,

Go to Settings > User & Company open user having id =1 and assing hr officer or hr manager role

形象
丢弃
相关帖文 回复 查看 活动
0
11月 22
1912
0
8月 23
1325
0
9月 21
2086
2
12月 18
8615
1
11月 22
2190