mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 13:24:47 +00:00
fix: job offer validation fix (#22504)
This commit is contained in:
@@ -32,7 +32,8 @@ class JobOffer(Document):
|
|||||||
return frappe.get_all("Job Offer", filters={
|
return frappe.get_all("Job Offer", filters={
|
||||||
"offer_date": ['between', (from_date, to_date)],
|
"offer_date": ['between', (from_date, to_date)],
|
||||||
"designation": self.designation,
|
"designation": self.designation,
|
||||||
"company": self.company
|
"company": self.company,
|
||||||
|
"docstatus": 1
|
||||||
}, fields=['name'])
|
}, fields=['name'])
|
||||||
|
|
||||||
def update_job_applicant(status, job_applicant):
|
def update_job_applicant(status, job_applicant):
|
||||||
|
|||||||
Reference in New Issue
Block a user