diff --git a/healthcare/patches/v15_0/set_allow_booking_for_in_appointment_type.py b/healthcare/patches/v15_0/set_allow_booking_for_in_appointment_type.py index a97d0631e6..d2ebd828c8 100644 --- a/healthcare/patches/v15_0/set_allow_booking_for_in_appointment_type.py +++ b/healthcare/patches/v15_0/set_allow_booking_for_in_appointment_type.py @@ -4,12 +4,8 @@ def execute(): appointment_types = frappe.db.get_all("Appointment Type") for at in appointment_types: - frappe.db.set_value( - "Appointment Type", at.name, "allow_booking_for", "Practitioner" - ) + frappe.db.set_value("Appointment Type", at.name, "allow_booking_for", "Practitioner") appointment_type_items = frappe.db.get_all("Appointment Type Service Item") for ati in appointment_type_items: - frappe.db.set_value( - "Appointment Type Service Item", ati.name, "dt", "Medical Department" - ) + frappe.db.set_value("Appointment Type Service Item", ati.name, "dt", "Medical Department")