Exemplo n.º 1
0
def switch_to_master(upgrade=False):
	"Switch frappe and erpnext to master branch"
	from bench.app import switch_to_master
	switch_to_master(upgrade=upgrade)
	print
	print 'Switched to master'
	print 'Please run `bench update --patch` to be safe from any differences in database schema'
Exemplo n.º 2
0
def switch_to_master(upgrade=False):
    "Switch frappe and erpnext to master branch"
    from bench.app import switch_to_master
    switch_to_master(upgrade=upgrade)
    print
    print 'Switched to master'
    print 'Please run `bench update --patch` to be safe from any differences in database schema'
Exemplo n.º 3
0
def switch_to_master():
	"Switch frappe and erpnext to master branch"
	from bench.app import switch_to_master
	switch_to_master(apps=['frappe', 'erpnext'])
	print()
	print('Switched to master')
	print('Please run `bench update --patch` to be safe from any differences in database schema')
Exemplo n.º 4
0
def switch_to_master():
	"Switch frappe and erpnext to master branch"
	from bench.app import switch_to_master
	switch_to_master(apps=['frappe', 'erpnext'])
	print()
	print('Switched to master')
	print('Please run `bench update --patch` to be safe from any differences in database schema')
Exemplo n.º 5
0
def switch_to_master(upgrade=False,
                     force_frappe=False,
                     force_erpnext=False,
                     force_frappe_erpnext=False):
    "Switch frappe and erpnext to master branch"
    from bench.app import switch_to_master
    switch_to_master(upgrade=upgrade,
                     apps=['frappe', 'erpnext'],
                     force_frappe=force_frappe,
                     force_erpnext=force_erpnext,
                     force_frappe_erpnext=force_frappe_erpnext)
    print
    print 'Switched to master'
    print 'Please run `bench update --patch` to be safe from any differences in database schema'