コード例 #1
0
ファイル: make_demo.py プロジェクト: Jdfkat/erpnext
def complete_setup():
	print "Complete Setup..."
	from setup.page.setup_wizard.setup_wizard import setup_account
	setup_account({
		"first_name": "Test",
		"last_name": "User",
		"fy_start": "1st Jan",
		"industry": "Manufacturing",
		"company_name": company,
		"company_abbr": company_abbr,
		"currency": currency,
		"timezone": time_zone,
		"country": country
	})

	import_data("Fiscal_Year")
コード例 #2
0
def complete_setup():
    print "Complete Setup..."
    from setup.page.setup_wizard.setup_wizard import setup_account
    setup_account({
        "first_name": "Test",
        "last_name": "User",
        "fy_start": "1st Jan",
        "industry": "Manufacturing",
        "company_name": company,
        "company_abbr": company_abbr,
        "currency": currency,
        "timezone": time_zone,
        "country": country
    })

    import_data("Fiscal_Year")
コード例 #3
0
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt

from __future__ import unicode_literals
import webnotes

from setup.page.setup_wizard.test_setup_data import args
from setup.page.setup_wizard.setup_wizard import setup_account

if __name__ == "__main__":
    webnotes.connect()
    webnotes.local.form_dict = webnotes._dict(args)
    setup_account()
コード例 #4
0
ファイル: test_setup_wizard.py プロジェクト: Jdfkat/erpnext
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
# License: GNU General Public License v3. See license.txt

from __future__ import unicode_literals
import webnotes

from setup.page.setup_wizard.test_setup_data import args
from setup.page.setup_wizard.setup_wizard import setup_account

if __name__=="__main__":
	webnotes.connect()
	webnotes.local.form_dict = webnotes._dict(args)
	setup_account()