Please sign in to comment.
[FIX] hr_leave: Skip validation rights if no validation
If validation type is set to `no_validation`, checking if a target state is achievalbe should bypass normal checks for the user's own leaves. Otherwise, ir.rule raises an AccessError as the user doesn't normally have the rights for leave in state `validate`.
- Loading branch information...