fix(naming): Use creation instead of name to order GL Entries

This commit is contained in:
Aditya Hase 2019-01-07 21:50:04 +05:30
parent 7bc692d48d
commit 972f659fd5

View File

@ -655,7 +655,7 @@ def get_outstanding_invoices(party_type, party, account, condition=None):
or (voucher_type not in ('Journal Entry', 'Payment Entry')))
group by voucher_type, voucher_no
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,
invoice = invoice,
payment_dr_or_cr=payment_dr_or_cr,