Moved email to appoitnmetn doctype

This commit is contained in:
Pranav Nachanekar 2019-09-23 11:28:17 +05:30
parent f8cc86bfed
commit d9ab09ab2b

View File

@ -98,7 +98,7 @@ def create_appointment(date, time, contact):
appointment.customer_phone_number = contact['number']
appointment.customer_skype = contact['skype']
appointment.customer_details = contact['notes']
appointment.lead = contact['email']
appointment.email = contact['email']
appointment.status = 'Open'
appointment.insert()