fix: Styling and indentation fixes

This commit is contained in:
deepeshgarg007
2019-04-15 19:20:59 +05:30
parent 2e87202b3b
commit f0ee3d26a7
2 changed files with 36 additions and 36 deletions

View File

@@ -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