From 0ef0ff470f2dd3526797f433b5deda17cee42674 Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Tue, 4 Jul 2023 11:09:38 +0530 Subject: [PATCH] fix: Further sort purchase_order_analysis to get consistent response --- .../report/purchase_order_analysis/purchase_order_analysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/buying/report/purchase_order_analysis/purchase_order_analysis.py b/erpnext/buying/report/purchase_order_analysis/purchase_order_analysis.py index a5c464910de..6a18cd95881 100644 --- a/erpnext/buying/report/purchase_order_analysis/purchase_order_analysis.py +++ b/erpnext/buying/report/purchase_order_analysis/purchase_order_analysis.py @@ -84,7 +84,7 @@ def get_data(conditions, filters): and po.docstatus = 1 {0} GROUP BY poi.name - ORDER BY po.transaction_date ASC + ORDER BY po.transaction_date ASC, poi.item_code ASC """.format( conditions ),