mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
fix(naming): Use creation instead of name to order GL Entries
This commit is contained in:
@@ -655,7 +655,7 @@ def get_outstanding_invoices(party_type, party, account, condition=None):
|
|||||||
or (voucher_type not in ('Journal Entry', 'Payment Entry')))
|
or (voucher_type not in ('Journal Entry', 'Payment Entry')))
|
||||||
group by voucher_type, voucher_no
|
group by voucher_type, voucher_no
|
||||||
having (invoice_amount - payment_amount) > 0.005
|
having (invoice_amount - payment_amount) > 0.005
|
||||||
order by posting_date, name""".format(
|
order by posting_date, creation""".format(
|
||||||
dr_or_cr=dr_or_cr,
|
dr_or_cr=dr_or_cr,
|
||||||
invoice = invoice,
|
invoice = invoice,
|
||||||
payment_dr_or_cr=payment_dr_or_cr,
|
payment_dr_or_cr=payment_dr_or_cr,
|
||||||
|
|||||||
Reference in New Issue
Block a user