Update customer_credit_balance.py

This commit is contained in:
Nabin Hait 2019-09-05 12:24:37 +05:30 committed by GitHub
parent 7834a0182b
commit c78c86663d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ def get_details(filters):
conditions = ""
if filters.get("customer"):
conditions += " AND name = " + filters.get("customer")
conditions += " AND c.name = " + filters.get("customer")
return frappe.db.sql("""SELECT
c.name, c.customer_name,