Minor fix in accounts receivable report
This commit is contained in:
parent
5cc0531d27
commit
d57b57a21d
@ -149,7 +149,7 @@ class AccountsReceivableReport(object):
|
||||
if not account_map:
|
||||
frappe.throw(_("No Customer Accounts found."))
|
||||
else:
|
||||
accounts_list = ['"{0}"'.format(ac) for ac in account_map]
|
||||
accounts_list = ['"{0}"'.format(ac.replace('"', '\"')) for ac in account_map]
|
||||
conditions.append("account in ({0})".format(", ".join(accounts_list)))
|
||||
|
||||
return " and ".join(conditions), values
|
||||
|
Loading…
x
Reference in New Issue
Block a user