chore: deprecate unused method

(cherry picked from commit 956c3c50a09036dbeb9bfdf7ecd42958bdb0ec3e)
This commit is contained in:
barredterra 2023-12-11 19:46:37 +01:00 committed by Mergify
parent 3845d4294c
commit b17178bba9

View File

@ -1,4 +1,5 @@
import frappe
from frappe.utils.deprecations import deprecated
def get_leaderboards():
@ -217,6 +218,7 @@ def get_all_sales_person(date_range, company, field=None, limit=0):
)
@deprecated
def get_date_condition(date_range, field):
date_condition = ""
if date_range: