fix: don't attempt to set gender from salutation (#40997)
diff --git a/erpnext/setup/doctype/employee/employee.js b/erpnext/setup/doctype/employee/employee.js
index d165d42..7a1efa8 100755
--- a/erpnext/setup/doctype/employee/employee.js
+++ b/erpnext/setup/doctype/employee/employee.js
@@ -18,18 +18,6 @@
refresh() {
erpnext.toggle_naming_series();
}
-
- salutation() {
- if (this.frm.doc.salutation) {
- this.frm.set_value(
- "gender",
- {
- Mr: "Male",
- Ms: "Female",
- }[this.frm.doc.salutation]
- );
- }
- }
};
frappe.ui.form.on("Employee", {