diff --git a/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner.json b/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner.json index 1a19129236..5fe975c0f7 100644 --- a/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner.json +++ b/healthcare/healthcare/doctype/healthcare_practitioner/healthcare_practitioner.json @@ -113,7 +113,8 @@ "ignore_user_permissions": 1, "in_standard_filter": 1, "label": "Medical Department", - "options": "Medical Department" + "options": "Medical Department", + "reqd" : 1 }, { "fieldname": "column_break_7", diff --git a/healthcare/healthcare/doctype/lab_test/test_lab_test.py b/healthcare/healthcare/doctype/lab_test/test_lab_test.py index 58b407049f..c274c8e5c8 100644 --- a/healthcare/healthcare/doctype/lab_test/test_lab_test.py +++ b/healthcare/healthcare/doctype/lab_test/test_lab_test.py @@ -229,6 +229,7 @@ def create_practitioner(): practitioner = frappe.new_doc("Healthcare Practitioner") practitioner.first_name = "_Test Healthcare Practitioner" practitioner.gender = "Female" + practitioner.department = "Dermatology" practitioner.op_consulting_charge = 500 practitioner.inpatient_visit_charge = 500 practitioner.save(ignore_permissions=True)