mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-18 17:55:40 +00:00
Update accounts_receivable.py
This commit is contained in:
@@ -545,7 +545,7 @@ class ReceivablePayableReport(object):
|
||||
where si.name = ps.parent and
|
||||
si.docstatus = 1 and si.company = '%s' and
|
||||
si.name in (%s) order by ps.due_date
|
||||
""" % (self.filters.company, ','.join(['%s'] *len(voucher_nos))),
|
||||
""" % (frappe.db.escape(self.filters.company), ','.join(['%s'] *len(voucher_nos))),
|
||||
(tuple(voucher_nos)), as_dict = 1)
|
||||
|
||||
for d in payment_terms_details:
|
||||
|
||||
Reference in New Issue
Block a user