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

Salary Slip useless validation message #28007

Closed
dj12djdjs opened this issue Oct 19, 2021 · 0 comments
Closed

Salary Slip useless validation message #28007

dj12djdjs opened this issue Oct 19, 2021 · 0 comments

Comments

@dj12djdjs
Copy link
Collaborator

Why do we clear the employee right before displaying it in the error message?

if ret_exist:
self.employee = ''
frappe.throw(_("Salary Slip of employee {0} already created for this period").format(self.employee))

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants