Skip to content

Commit

Permalink
fix: Linters Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
akashkrishna619 committed Jul 25, 2023
1 parent 025117b commit a103390
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit a103390

Please sign in to comment.