mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-16 13:25:10 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user