Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Employee request overtime permission error #92

Open
drpsyko101 opened this issue Jan 1, 2023 · 0 comments
Open

Employee request overtime permission error #92

drpsyko101 opened this issue Jan 1, 2023 · 0 comments

Comments

@drpsyko101
Copy link

Hi, I'm experiencing an issue where a normal employee user failed to create an overtime request due to the lack of permission of accessing hr.contract. Is it possible to calculate duration of date_from to date_to using pandas instead of accessing contract when creating a new overtime request? Or is it intended to be used by HR officer only?

The code in question:

if self.contract_id and self.date_from and self.date_to:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant