mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-25 09:38:31 +00:00
fix: sort by creation to break tie
(cherry picked from commit ff9cfe0d14)
This commit is contained in:
committed by
Ankush Menat
parent
264ffe05b4
commit
9e9f730dd1
@@ -128,7 +128,7 @@ def get_serial_nos_data_after_transactions(args):
|
||||
& (Timestamp(sle.posting_date, sle.posting_time) < Timestamp(args.posting_date, args.posting_time))
|
||||
& (sle.is_cancelled == 0)
|
||||
).orderby(
|
||||
sle.posting_date, sle.posting_time
|
||||
sle.posting_date, sle.posting_time, sle.creation
|
||||
).run(as_dict=1)
|
||||
|
||||
for stock_ledger_entry in stock_ledger_entries:
|
||||
|
||||
Reference in New Issue
Block a user