From ed13b3c19a3e0ce044606a44c234c40a843d80c5 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 25 Dec 2017 15:11:56 +0530 Subject: [PATCH] Fixed minor issue --- erpnext/accounts/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py index c53f2a6d74..8cf1f51bed 100644 --- a/erpnext/accounts/utils.py +++ b/erpnext/accounts/utils.py @@ -610,7 +610,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, due_date""".format( + order by posting_date, name""".format( dr_or_cr=dr_or_cr, invoice = invoice, payment_dr_or_cr=payment_dr_or_cr,