Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4469 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ย. 22
2220
0
ส.ค. 23
1856
0
ก.ย. 21
2515
2
ธ.ค. 18
9212
holidays leaves แก้ไขแล้ว
1
พ.ย. 22
2704