auto assign before creating event

This commit is contained in:
0Pranav 2019-10-31 15:37:57 +05:30
parent d1c530c564
commit 60093d98b0

View File

@ -85,8 +85,8 @@ class Appointment(Document):
# Remove unverified status
self.status = 'Open'
# Create calender event
self.create_calendar_event()
self.auto_assign()
self.create_calendar_event()
self.save(ignore_permissions=True)
frappe.db.commit()