diff --git a/selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.py b/selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.py index 77432ea8d9..2b17c85c2b 100644 --- a/selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.py +++ b/selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.py @@ -19,7 +19,7 @@ def execute(filters=None): for si in webnotes.conn.sql("""select posting_date, customer, grand_total from `tabSales Invoice` where docstatus=1 and posting_date <= %(to_date)s {company_condition} order by posting_date""".format(company_condition=company_condition), - filters, as_dict=1, debug=1): + filters, as_dict=1): key = si.posting_date[:7] if not si.customer in customers: