Skip to content

Commit

Permalink
chore: deprecate unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
barredterra committed Dec 11, 2023
1 parent 40c1acc commit 956c3c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions erpnext/startup/leaderboard.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import frappe
from frappe.utils.deprecations import deprecated


def get_leaderboards():
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 956c3c5

Please sign in to comment.