This commit is contained in:
Pranav Nachanekar 2019-09-18 16:13:29 +05:30
parent 7d476a3e35
commit ec1dae023c

View File

@ -29,7 +29,7 @@ class Appointment(Document):
'type': 'Private',
'event_participants': [dict(reference_doctype = "Lead", reference_docname = self.lead)]
})
appointment_event.insert(ignore_permissions = True)
appointment_event.insert(ignore_permissions=True)
self.calendar_event = appointment_event.name
def after_insert(self):