fix(crm): fix lead while updating contact details
it use to throw error while updating contact details for lead "Next Contact Date cannot be in the past" is being solved
This commit is contained in:
parent
c759e17900
commit
2f81f754ac
@ -19,6 +19,5 @@ def update_lead_phone_numbers(contact, method):
|
||||
mobile_no = primary_mobile_nos[0]
|
||||
|
||||
lead = frappe.get_doc("Lead", contact_lead)
|
||||
lead.phone = phone
|
||||
lead.mobile_no = mobile_no
|
||||
lead.save()
|
||||
lead.db_set("phone", phone)
|
||||
lead.db_set("mobile_no", mobile_no)
|
||||
|
Loading…
Reference in New Issue
Block a user