コード例 #1
0
ファイル: update.py プロジェクト: Dattatech/Test-Bench
def switch_to_v5(upgrade=False):
	"Switch frappe and erpnext to v4 branch"
	from bench.app import switch_to_v5
	switch_to_v5(upgrade=upgrade)
	print
	print 'Switched to v5'
	print 'Please run `bench update --patch` to be safe from any differences in database schema'
コード例 #2
0
def switch_to_v5(upgrade=False):
    "Switch frappe and erpnext to v4 branch"
    from bench.app import switch_to_v5
    switch_to_v5(upgrade=upgrade)
    print
    print 'Switched to v5'
    print 'Please run `bench update --patch` to be safe from any differences in database schema'