[fix] [minor] make_demo_fresh fixed

This commit is contained in:
Akhilesh Darjee
2013-11-27 16:16:32 +05:30
parent ca414a96cc
commit a8e704d4ab
4 changed files with 186 additions and 145 deletions

View File

@@ -14,9 +14,9 @@ You can only upload upto 5000 records in one go. (may be less in some cases),,,,
DocType:,Fiscal Year,,,
Column Labels:,ID,Year Name,Year Start Date,Year Closed
Column Name:,name,year,year_start_date,year_end_date,is_fiscal_year_closed
Mandatory:,Yes,Yes,Yes,No
Type:,Data (text),Data,Date,Select
Info:,,,,"One of: No, Yes"
Mandatory:,Yes,Yes,Yes,Yes,No
Type:,Data (text),Data,Date,Date,Select
Info:,,,,,"One of: No, Yes"
Start entering data below this line,,,,
,,2009,01-01-2009,31-12-2009,No
,,2010,01-01-2010,31-12-2010,No
1 Data Import Template
14 DocType: Fiscal Year
15 Column Labels: ID Year Name Year Start Date Year Closed
16 Column Name: name year year_start_date year_end_date
17 Mandatory: Yes Yes Yes No Yes
18 Type: Data (text) Data Date Select Date
19 Info: One of: No, Yes
20 Start entering data below this line
21 2009 01-01-2009 31-12-2009
22 2010 01-01-2010 31-12-2010

View File

@@ -380,7 +380,8 @@ def complete_setup():
setup_account({
"first_name": "Test",
"last_name": "User",
"fy_start": "1st Jan",
"fy_start_date": "2013-01-01",
"fy_end_date": "2013-12-31",
"industry": "Manufacturing",
"company_name": company,
"company_abbr": company_abbr,