Fixed update method
This commit is contained in:
parent
b6b27d9256
commit
e40b100110
@ -47,7 +47,7 @@ class Appointment(Document):
|
||||
subject=_('Appointment Confirmation'))
|
||||
frappe.msgprint('Please check your email to confirm the appointment')
|
||||
|
||||
def on_update():
|
||||
def on_update(self):
|
||||
# Sync Calednar
|
||||
cal_event = frappe.get_doc('Event',self.calendar_event)
|
||||
cal_event.starts_on = self.scheduled_time
|
||||
|
Loading…
x
Reference in New Issue
Block a user