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

raise AccessError if no employee is found for current user #171

Open
wants to merge 1 commit into
base: 14.0
Choose a base branch
from

Conversation

Ricardoalso
Copy link

AccessError to be raised if no employee is found matching the domain, providing a clear error message and avoiding ValueError: Expected singleton: hr.employee()

@OCA-git-bot
Copy link
Contributor

Hi @petrus-v,
some modules you are maintaining are being modified, check this out!

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

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

Successfully merging this pull request may close these issues.

4 participants