[fix] add data integration to sync sequence
This commit is contained in:
parent
28923629f5
commit
5a582564e3
1 changed files with 15 additions and 4 deletions
|
|
@ -27,10 +27,21 @@ def sync_for(app_name, force=0, sync_everything = False, verbose=False, reset_pe
|
|||
|
||||
if app_name == "frappe":
|
||||
# these need to go first at time of install
|
||||
for d in (("core", "docfield"), ("core", "docperm"), ("core", "has_role"), ("core", "doctype"),
|
||||
("core", "user"), ("core", "role"), ("custom", "custom_field"),
|
||||
("custom", "property_setter"), ("website", "web_form"),
|
||||
("website", "web_form_field"), ("website", "portal_menu_item")):
|
||||
for d in (("core", "docfield"),
|
||||
("core", "docperm"),
|
||||
("core", "has_role"),
|
||||
("core", "doctype"),
|
||||
("core", "user"),
|
||||
("core", "role"),
|
||||
("custom", "custom_field"),
|
||||
("custom", "property_setter"),
|
||||
("website", "web_form"),
|
||||
("website", "web_form_field"),
|
||||
("website", "portal_menu_item"),
|
||||
("data_migration", "data_migration_mapping_detail"),
|
||||
("data_migration", "data_migration_mapping"),
|
||||
("data_migration", "data_migration_plan_mapping"),
|
||||
("data_migration", "data_migration_plan")):
|
||||
files.append(os.path.join(frappe.get_app_path("frappe"), d[0],
|
||||
"doctype", d[1], d[1] + ".json"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue