merging from master and usability fixes to setup

This commit is contained in:
Rushabh Mehta
2011-09-14 13:25:10 +05:30
parent 5f50617121
commit 1e11cb486d
16 changed files with 133 additions and 74 deletions

View File

@@ -52,8 +52,7 @@ class DocType:
self.currency = currency
# Fiscal Year
master_dict = {'Fiscal Year':{'year':curr_fiscal_year,
'year_start_date':fy_start_date}}
master_dict = {'Fiscal Year':{'year':curr_fiscal_year, 'year_start_date':fy_start_date}}
self.create_records(master_dict)
# Company
@@ -85,6 +84,8 @@ class DocType:
# Set Registration Complete
set_default('registration_complete','1')
webnotes.msgprint("Great! Your company has now been created")
import webnotes.utils
return webnotes.utils.get_defaults()