mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
Linked send_reminder in calendar event
to Appointment Booking Settings
This commit is contained in:
@@ -30,6 +30,7 @@ class Appointment(Document):
|
|||||||
'starts_on': self.scheduled_time,
|
'starts_on': self.scheduled_time,
|
||||||
'status': 'Open',
|
'status': 'Open',
|
||||||
'type': 'Private',
|
'type': 'Private',
|
||||||
|
'send_reminder': frappe.db.get_single_value('Appointment Booking Settings','email_reminders'),
|
||||||
'event_participants': [dict(reference_doctype = "Lead", reference_docname = self.lead)]
|
'event_participants': [dict(reference_doctype = "Lead", reference_docname = self.lead)]
|
||||||
})
|
})
|
||||||
appointment_event.insert(ignore_permissions=True)
|
appointment_event.insert(ignore_permissions=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user