refactor(treewide): formatting and ruff fixes, + manually enabled F401
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
@@ -94,9 +94,7 @@ def get_linked_prospect(reference_doctype, reference_name):
|
||||
"Opportunity", reference_name, ["opportunity_from", "party_name"]
|
||||
)
|
||||
if opportunity_from == "Lead":
|
||||
prospect = frappe.db.get_value(
|
||||
"Prospect Opportunity", {"opportunity": reference_name}, "parent"
|
||||
)
|
||||
prospect = frappe.db.get_value("Prospect Opportunity", {"opportunity": reference_name}, "parent")
|
||||
if opportunity_from == "Prospect":
|
||||
prospect = party_name
|
||||
|
||||
|
||||
Reference in New Issue
Block a user