mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 03:29:16 +00:00
Merge pull request #35202 from frappe/mergify/bp/version-14-hotfix/pr-35196
fix: pick the in progress reposting entries first (backport #35196)
This commit is contained in:
@@ -353,7 +353,7 @@ def get_repost_item_valuation_entries():
|
|||||||
return frappe.db.sql(
|
return frappe.db.sql(
|
||||||
""" SELECT name from `tabRepost Item Valuation`
|
""" SELECT name from `tabRepost Item Valuation`
|
||||||
WHERE status in ('Queued', 'In Progress') and creation <= %s and docstatus = 1
|
WHERE status in ('Queued', 'In Progress') and creation <= %s and docstatus = 1
|
||||||
ORDER BY timestamp(posting_date, posting_time) asc, creation asc
|
ORDER BY timestamp(posting_date, posting_time) asc, creation asc, status asc
|
||||||
""",
|
""",
|
||||||
now(),
|
now(),
|
||||||
as_dict=1,
|
as_dict=1,
|
||||||
|
|||||||
Reference in New Issue
Block a user