mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 05:39:12 +00:00
fix: Styling and indentation fixes
This commit is contained in:
@@ -44,7 +44,7 @@ class Opportunity(TransactionBase):
|
|||||||
|
|
||||||
def make_new_lead_if_required(self):
|
def make_new_lead_if_required(self):
|
||||||
"""Set lead against new opportunity"""
|
"""Set lead against new opportunity"""
|
||||||
if not self.customer_lead and self.contact_email:
|
if not self.customer_lead and self.contact_email: #nosec
|
||||||
# check if customer is already created agains the self.contact_email
|
# check if customer is already created agains the self.contact_email
|
||||||
customer = frappe.db.sql("""select
|
customer = frappe.db.sql("""select
|
||||||
distinct `tabDynamic Link`.link_name as customer
|
distinct `tabDynamic Link`.link_name as customer
|
||||||
|
|||||||
Reference in New Issue
Block a user