Help

Welcome!

This community is for professionals and enthusiasts of our products and services.
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

0

Applay record rules on hr.employee model it display AccessError when employee create leave request

Avatar
Rima

I have installed HR module and Apply record rules on hr.employee model is [('user_id', '=', user.id)] and assign Manager for that employee after this module install Leave Management Module.

When employee apply leave from leave management module display Error

[quote]AccessError

The requested operation cannot be completed due to security restrictions. Please contact your system administrator.

(Document type: hr.employee, Operation: read)[/quote]

Avatar
Discard
1 Answer
1
Avatar
Captcha
Best Answer

Your problem is the wrong model. Why did you apply that rule for hr.employee model while you want the rule affects leave request (hr.holidays model).

Avatar
Discard

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!