fix: first name not fetched from job offer applicant name (#20093)
This commit is contained in:
parent
8768d5d396
commit
8774c869d7
@ -58,7 +58,8 @@ def get_staffing_plan_detail(designation, company, offer_date):
|
||||
@frappe.whitelist()
|
||||
def make_employee(source_name, target_doc=None):
|
||||
def set_missing_values(source, target):
|
||||
target.personal_email = frappe.db.get_value("Job Applicant", source.job_applicant, "email_id")
|
||||
target.personal_email, target.first_name = frappe.db.get_value("Job Applicant", \
|
||||
source.job_applicant, ["email_id", "applicant_name"])
|
||||
doc = get_mapped_doc("Job Offer", source_name, {
|
||||
"Job Offer": {
|
||||
"doctype": "Employee",
|
||||
|
Loading…
x
Reference in New Issue
Block a user