mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 07:02:54 +00:00
replaced get_value
This commit is contained in:
@@ -88,7 +88,7 @@ coltypes[col_idx[based_on]] = 'Link'
|
||||
coloptions[col_idx[based_on]]= based_on
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user