commit | 4dad1f01ba397aae5eddcc39366543ee7c5b85e7 | [log] [tgz] |
---|---|---|
author | Anupam Kumar <anupamvns0099@gmail.com> | Tue Feb 02 12:43:13 2021 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Thu Feb 18 20:26:39 2021 +0530 |
tree | c33bd1029c2f27eec32c5d3ca66acaeb37eb0552 | |
parent | 73c2d23a9a73057edddc70c247a408a2580ab614 [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