Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4474 Widoki

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. 


Awatar
Odrzuć
Autor Najlepsza odpowiedź

Thank you Jagdish. 

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

Awatar
Odrzuć
Najlepsza odpowiedź

Hello,

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
lis 22
2225
0
sie 23
1858
0
wrz 21
2537
2
gru 18
9219
holidays leaves Rozwiązane
1
lis 22
2715