Skip to content

Commit

Permalink
fix: medical department field in healthcare practitioner should have …
Browse files Browse the repository at this point in the history
…a Mandatory enabled
  • Loading branch information
viralkansodiya committed Jan 2, 2025
1 parent b3c028c commit 28f9ecd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions healthcare/healthcare/doctype/lab_test/test_lab_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 28f9ecd

Please sign in to comment.