replaced get_value

This commit is contained in:
Anand Doshi
2012-11-30 17:16:03 +05:30
parent a2c6349342
commit 535fbb1b00
19 changed files with 29 additions and 30 deletions

View File

@@ -149,7 +149,7 @@ def append_colnames(name, colnames, coltypes, colwidths, coloptions, col_idx):
# get start date
start_date = get_value('Fiscal Year', fiscal_year, 'year_start_date')
start_date = webnotes.conn.get_value('Fiscal Year', fiscal_year, 'year_start_date')
if not start_date:
msgprint("Please Define Year Start Date for Fiscal Year " + str(fiscal_year))
raise Exception