AttributeError: 'EmployeeMaster' object has no attribute 'job_applicant

i am running into this error when creating a new employee :
image

I tired with this solution : What is the error?
and still the same error i tried reinstalling, changing version, from 16 to 15,30, I upgraded frappe from 5.22.6 to 5.22.9
I tried adding a custom field in the employee doctype with name job_applicant i made it a link field and still the same error
I also changed the code if not doc.job_applicant: to if not hasattr(doc, ‘job_applicant’) or not doc.job_applicant: in the employee_master.py
and still the same error.

the error text in the button :

### App Versions

{
“education”: “15.5.0”,
“erpnext”: “15.31.5”,
“frappe”: “15.36.1”,
“hrms”: “15.30.0”,
“lms”: “2.3.0”
}

### Route

Form/Employee/new-employee-nbqagnuxfa

### Traceback

Traceback (most recent call last):
File “apps/frappe/frappe/app.py”, line 114, in application
response = frappe.api.handle(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/api/init.py”, line 49, in handle
data = endpoint(**arguments)
^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/api/v1.py”, line 36, in handle_rpc_call
return frappe.handler.handle()
^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/handler.py”, line 49, in handle
data = execute_cmd(cmd)
^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/handler.py”, line 85, in execute_cmd
return frappe.call(method, **frappe.form_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/init.py”, line 1768, in call
return fn(*args, **newargs)
^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/utils/typing_validations.py”, line 31, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/desk/form/save.py”, line 39, in savedocs
doc.save()
File “apps/frappe/frappe/model/document.py”, line 337, in save
return self._save(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/model/document.py”, line 359, in _save
return self.insert()
^^^^^^^^^^^^^
File “apps/frappe/frappe/model/document.py”, line 291, in insert
self.run_before_save_methods()
File “apps/frappe/frappe/model/document.py”, line 1091, in run_before_save_methods
self.run_method(“validate”)
File “apps/frappe/frappe/model/document.py”, line 962, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/model/document.py”, line 1322, in composer
return composed(self, method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/model/document.py”, line 1306, in runner
add_to_return_value(self, f(self, method, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/hrms/hrms/overrides/employee_master.py”, line 31, in validate_onboarding_process
if not doc.job_applicant:
^^^^^^^^^^^^^^^^^
AttributeError: ‘EmployeeMaster’ object has no attribute ‘job_applicant’

### Request Data

{
“type”: “POST”,
“args”: {
“doc”: “{"docstatus":0,"doctype":"Employee","name":"new-employee-nbqagnuxfa","__islocal":1,"__unsaved":1,"owner":"Administrator","naming_series":"HR-EMP-","status":"Active","create_user_permission":1,"company":"Polygon University","prefered_contact_email":"","unsubscribed":0,"current_accommodation_type":"","permanent_accommodation_type":"","salary_currency":"TND","salary_mode":"","marital_status":"","blood_group":"","education":,"external_work_history":,"internal_work_history":,"leave_encashed":"","first_name":"moatez","gender":"Male","date_of_birth":"1999-05-04","date_of_retirement":"2059-05-04","date_of_joining":"2024-10-01","image":"/files/profile picture.jpg","user_id":"moatez.litaiem@consord.tn","prefered_email":"moatez.litaiem@consord.tn"}”,
“action”: “Save”
},
“btn”: {
“jQuery37006926321883864331”: {
“events”: {
“click”: [
{
“type”: “click”,
“origType”: “click”,
“guid”: 951,
“namespace”: “”
}
]
}
}
},
“freeze”: true,
“headers”: {},
“error_handlers”: {},
“url”: “/api/method/frappe.desk.form.save.savedocs”,
“request_id”: null
}

### Response Data

{
“exception”: “AttributeError: ‘EmployeeMaster’ object has no attribute ‘job_applicant’”,
“exc_type”: “AttributeError”,
“_exc_source”: “hrms (app)”
}

Solution :
I downgraded hrms version to V15.20.0