mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +00:00
chore: use local deprecation (#44306)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import frappe
|
||||
from frappe.utils.deprecations import deprecated
|
||||
|
||||
from erpnext.deprecation_dumpster import deprecated
|
||||
|
||||
|
||||
def get_leaderboards():
|
||||
@@ -218,7 +219,7 @@ def get_all_sales_person(date_range, company, field=None, limit=0):
|
||||
)
|
||||
|
||||
|
||||
@deprecated
|
||||
@deprecated(f"{__name__}.get_date_condition", "unknown", "v16", "No known instructions.")
|
||||
def get_date_condition(date_range, field):
|
||||
date_condition = ""
|
||||
if date_range:
|
||||
|
||||
Reference in New Issue
Block a user