commit | 2d57b0aa520a5fc2d6fc71cb710837aa79f35047 | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Wed Mar 05 10:51:04 2014 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Wed Mar 05 10:51:04 2014 +0530 |
tree | bba2b950e845ac10c630e8cafa95b7e962c373db | |
parent | 8e4640f4642c51a2ad228503f4f6a5a21cee3602 [diff] | |
parent | 0c4ef64b324393d71961bfb71b83f1d6477d9a38 [diff] |
Merge branch 'develop' of github.com:frappe/erpnext into develop
diff --git a/erpnext/selling/report/customers_not_buying_since_long_time/customers_not_buying_since_long_time.py b/erpnext/selling/report/customers_not_buying_since_long_time/customers_not_buying_since_long_time.py index c6b4686..a5899f4 100644 --- a/erpnext/selling/report/customers_not_buying_since_long_time/customers_not_buying_since_long_time.py +++ b/erpnext/selling/report/customers_not_buying_since_long_time/customers_not_buying_since_long_time.py
@@ -3,7 +3,7 @@ from __future__ import unicode_literals import frappe -from frappe.utils import getdate, cint +from frappe.utils import cint def execute(filters=None): if not filters: filters ={} @@ -17,7 +17,7 @@ data = [] for cust in customers: - if cust[8] >= days_since_last_order: + if cint(cust[8]) >= cint(days_since_last_order): cust.insert(7,get_last_so_amt(cust[0])) data.append(cust) return columns, data