commit | de420322b55539fa2888c910745e4bb76e938ee5 | [log] [tgz] |
---|---|---|
author | Rohit Waghchaure <rohitw1991@gmail.com> | Thu Jan 18 17:20:21 2018 +0530 |
committer | Rohit Waghchaure <rohitw1991@gmail.com> | Thu Jan 18 17:20:21 2018 +0530 |
tree | bc6a5595416f1fc3d9b0c398e5f04327bf9f3c8a | |
parent | c8e016522dec4d078939a7b914f5fab5feb89d46 [diff] |
[Fix] Sales payment summary issue
diff --git a/erpnext/accounts/report/sales_payment_summary/sales_payment_summary.py b/erpnext/accounts/report/sales_payment_summary/sales_payment_summary.py index f38f28d..6ad36f6 100644 --- a/erpnext/accounts/report/sales_payment_summary/sales_payment_summary.py +++ b/erpnext/accounts/report/sales_payment_summary/sales_payment_summary.py
@@ -36,7 +36,7 @@ return data def get_conditions(filters): - conditions = "" + conditions = "1=1" if filters.get("from_date"): conditions += "a.posting_date >= %(from_date)s" if filters.get("to_date"): conditions += " and a.posting_date <= %(to_date)s" if filters.get("company"): conditions += " and a.company=%(company)s"