[minor] fixes to data import tool, docs and lead

This commit is contained in:
Rushabh Mehta
2013-08-02 15:16:59 +05:30
parent 4ad4b4378f
commit 2b76a5e82a
3 changed files with 59 additions and 20 deletions

View File

@@ -4,6 +4,7 @@ from core.page.data_import_tool.data_import_tool import upload
def make():
webnotes.connect()
webnotes.print_messages = True
webnotes.mute_emails = True
install()
complete_setup()
@@ -37,6 +38,9 @@ def make_items():
print "Importing Items..."
webnotes.uploaded_file = os.path.join(os.path.dirname(__file__), "demo_docs", "Item.csv")
upload()
print "Importing Item Prices..."
webnotes.uploaded_file = os.path.join(os.path.dirname(__file__), "demo_docs", "Item_Price.csv")
upload()
def make_customers_suppliers_contacts():
print "Importing Customers..."