Hi,
I want to add the possibility to have multiple contacts with a lead.
The method load_address_and_contact don’t create contact_list if doctype is lead. I want to override this by my method that is the same unless the condition if doc.doctype != “Lead” in order to have contact_html field populated.
I made a test with hook override_whitelisted_methods but it don’t seem to work.
override_whitelisted_methods = {
“frappe.geo.address_and_contact.load_address_and_contact”: “erpmodifications.erpmodifications_crm.my_address_and_contact.load_address”
}
Any idea ?
Thanks
Xavier