diff --git a/crm/fcrm/doctype/crm_lead/crm_lead.py b/crm/fcrm/doctype/crm_lead/crm_lead.py index 44e549c5..0f07908d 100644 --- a/crm/fcrm/doctype/crm_lead/crm_lead.py +++ b/crm/fcrm/doctype/crm_lead/crm_lead.py @@ -251,8 +251,8 @@ def convert_to_deal(lead): lead.converted = 1 if lead.sla: lead.communication_status = 'Replied' + lead.save() contact = lead.create_contact(False) deal = lead.create_deal(contact) - lead.save() return deal