Skip to content

Commit

Permalink
fix: fix the Sales Funnel page
Browse files Browse the repository at this point in the history
  • Loading branch information
VishvParikh authored Oct 1, 2024
1 parent a04991f commit bece518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/selling/page/sales_funnel/sales_funnel.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def get_funnel_data(from_date, to_date, company):
quotations = frappe.db.sql(
"""select count(*) from `tabQuotation`
where docstatus = 1 and (date(`creation`) between %s and %s)
and (opportunity!="" or quotation_to="Lead") and company=%s""",
and (opportunity!='' or quotation_to='Lead') and company=%s""",
(from_date, to_date, company),
)[0][0]

Expand Down

0 comments on commit bece518

Please sign in to comment.