mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 04:39:11 +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):
|
||||
"""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
|
||||
customer = frappe.db.sql("""select
|
||||
distinct `tabDynamic Link`.link_name as customer
|
||||
|
||||
Reference in New Issue
Block a user