Update accounts_receivable.py

This commit is contained in:
Nabin Hait 2014-01-30 12:12:26 +05:30
parent 47fcc0310d
commit 937103f840

View File

@ -133,7 +133,7 @@ class AccountsReceivableReport(object):
conditions, values = self.prepare_conditions() conditions, values = self.prepare_conditions()
self.gl_entries = webnotes.conn.sql("""select * from `tabGL Entry` self.gl_entries = webnotes.conn.sql("""select * from `tabGL Entry`
where docstatus < 2 {0} order by posting_date, account""".format(conditions), where docstatus < 2 {0} order by posting_date, account""".format(conditions),
values, as_dict=True, debug=1) values, as_dict=True)
return self.gl_entries return self.gl_entries