Added override for ERPNext updating a Lead's mobile_no field even if that phone number isn't defined as primary_mobile in the linked Contact
This commit is contained in:
@ -15,7 +15,7 @@ def add_lead_to_campaign(lead_name, campaign_name, start_date=None):
|
||||
})
|
||||
|
||||
if existing:
|
||||
frappe.throw("This Lead is already part of an Email Campaign with this name.")
|
||||
frappe.throw("This Lead is already in this Email Campaign")
|
||||
|
||||
doc = frappe.new_doc("Email Campaign")
|
||||
doc.update({
|
||||
|
||||
Reference in New Issue
Block a user