From cc7991bd6e855055d73eb526051bfe9e07310cac Mon Sep 17 00:00:00 2001 From: Aditya Duggal Date: Wed, 17 Jun 2020 15:01:32 +0530 Subject: [PATCH] Minor Fix --- .../report/courier_tracking_rigpl/courier_tracking_rigpl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rigpl_erpnext/rigpl_erpnext/report/courier_tracking_rigpl/courier_tracking_rigpl.py b/rigpl_erpnext/rigpl_erpnext/report/courier_tracking_rigpl/courier_tracking_rigpl.py index d89321db..ca59ce89 100644 --- a/rigpl_erpnext/rigpl_erpnext/report/courier_tracking_rigpl/courier_tracking_rigpl.py +++ b/rigpl_erpnext/rigpl_erpnext/report/courier_tracking_rigpl/courier_tracking_rigpl.py @@ -38,7 +38,7 @@ def get_data(filters): FROM `tabCarrier Tracking` WHERE docstatus !=2 %s GROUP BY carrier_name - ORDER BY carrier_name"""%(conditions, conditions) + ORDER BY carrier_name"""%(conditions) elif filters.get("avg_delivery_times"): query = """SELECT carrier_name, COUNT(name), AVG(DATEDIFF(delivery_date_time, pickup_date)), MAX(DATEDIFF(delivery_date_time, pickup_date)),