From 810041cbe33733f4f286aa962d73e82981378f02 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 15 Jun 2015 10:20:04 +0530 Subject: [PATCH] [fix] Fixed error due to performance upgrade cleanup --- .../accounts/report/accounts_receivable/accounts_receivable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/report/accounts_receivable/accounts_receivable.py b/erpnext/accounts/report/accounts_receivable/accounts_receivable.py index bdfdf0ede32..19703be8ebc 100644 --- a/erpnext/accounts/report/accounts_receivable/accounts_receivable.py +++ b/erpnext/accounts/report/accounts_receivable/accounts_receivable.py @@ -171,7 +171,7 @@ class ReceivablePayableReport(object): def get_gl_entries(self, party_type): if not hasattr(self, "gl_entries"): conditions, values = self.prepare_conditions(party_type) - self.gl_entries = frappe.db.sql("""select posting_date, account, party_type, party, debit, credit, + self.gl_entries = frappe.db.sql("""select name, posting_date, account, party_type, party, debit, credit, voucher_type, voucher_no, against_voucher_type, against_voucher from `tabGL Entry` where docstatus < 2 and party_type=%s {0} order by posting_date, party""" .format(conditions), values, as_dict=True)