removed unnecessary imports

This commit is contained in:
Anand Doshi
2012-11-30 16:38:04 +05:30
parent 746e229026
commit 0fd99e7536
118 changed files with 280 additions and 843 deletions

View File

@@ -16,7 +16,7 @@
# add expense head columns
from __future__ import unicode_literals
from webnotes.utils import flt, cint, cstr
from webnotes.utils import flt
expense_acc = [c[0] for c in sql("""select distinct expense_head
from `tabPurchase Invoice Item`

View File

@@ -16,7 +16,7 @@
# add additional columns
from __future__ import unicode_literals
from webnotes.utils import flt, cint, cstr
from webnotes.utils import flt
cl = [c[0] for c in sql("""select distinct account_head
from `tabSales Taxes and Charges`

View File

@@ -30,8 +30,7 @@ else:
if from_date != "" and to_date != "":
get_obj('MIS Control').dates(from_fiscal_year,from_date,to_date) # validate dates (i.e. dates should be between particular fiscal year)
# Add columns based on from and to fiscal year
# --------------------------------------------------------------------------------------------------
# Add columns based on from and to fiscal year---------
columns = []
columns.append(['ID','Data','150px',''])
columns.append(['Description','Data','150px',''])