hrms icon indicating copy to clipboard operation
hrms copied to clipboard

validation bug on changing Status field in Job Opening Doctype

Open zuron7 opened this issue 11 months ago • 0 comments

Information about bug

When changing status of a Job Opening, the following error pops up:

image

I've identified that the error is from the file below and it seems the validation is checking if the number of opening is less than that number of people working at the organization + the number of job openings for that position.

I think the validation needs to be changed to be only to compare against the number of job openings. The reason we got this error was that we had a few people already with this position who were given an offer without a job opening created for this.

Link to Code Section

I fixed it on our instance by marking some employees as inactive for some time to allow for the job opening to be closed.

Module

HR

Version

Frappe v15.18.2 ERPNext v15.17.5 Frappe HR v15.14.2

Installation method

FrappeCloud

Relevant log output / Stack trace / Full Error Message.

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

zuron7 avatar Mar 25 '24 07:03 zuron7