mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
Merge pull request #50278 from frappe/mergify/bp/version-15/pr-50277
fix(pos): order pos invoices by timestamp (backport #50277)
This commit is contained in:
@@ -161,6 +161,8 @@ def get_pos_invoices(start, end, pos_profile, user):
|
|||||||
`tabPOS Invoice`
|
`tabPOS Invoice`
|
||||||
where
|
where
|
||||||
owner = %s and docstatus = 1 and pos_profile = %s and ifnull(consolidated_invoice,'') = ''
|
owner = %s and docstatus = 1 and pos_profile = %s and ifnull(consolidated_invoice,'') = ''
|
||||||
|
order by
|
||||||
|
timestamp
|
||||||
""",
|
""",
|
||||||
(user, pos_profile),
|
(user, pos_profile),
|
||||||
as_dict=1,
|
as_dict=1,
|
||||||
|
|||||||
Reference in New Issue
Block a user