fix: Further sort purchase_order_analysis to get consistent response

This commit is contained in:
Suraj Shetty
2023-07-04 11:09:38 +05:30
parent 10c9640cbd
commit 0ef0ff470f

View File

@@ -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
),