commit | 7d64a291b8f99ed0d1cc5da175b53b0df578ccf1 | [log] [tgz] |
---|---|---|
author | Anupam Kumar <anupamvns0099@gmail.com> | Tue Feb 02 12:43:13 2021 +0530 |
committer | GitHub <noreply@github.com> | Tue Feb 02 12:43:13 2021 +0530 |
tree | ece5b63920051a293cd7516abdf52f313b1c3f16 | |
parent | 91a02868cb70faa0887445886cfdfa4485e0f127 [diff] |
fix: contact permmission issue (#24503)
diff --git a/erpnext/crm/doctype/lead/lead.py b/erpnext/crm/doctype/lead/lead.py index 1439adb..938cbfd 100644 --- a/erpnext/crm/doctype/lead/lead.py +++ b/erpnext/crm/doctype/lead/lead.py
@@ -176,7 +176,7 @@ "phone": self.mobile_no }) - contact.insert() + contact.insert(ignore_permissions=True) return contact