From 0be59cee807ef6167883fe32680f2c177202f2d5 Mon Sep 17 00:00:00 2001 From: abhishek Date: Tue, 5 Oct 2021 20:26:18 +0530 Subject: [PATCH] chore: add missing document_types --- frappe/model/sync.py | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/frappe/model/sync.py b/frappe/model/sync.py index e28c8ae4a7..bd6dacf332 100644 --- a/frappe/model/sync.py +++ b/frappe/model/sync.py @@ -81,10 +81,29 @@ def get_doc_files(files, start_path): files = files or [] # load in sequence - warning for devs - document_types = ['doctype', 'page', 'report', 'dashboard_chart_source', 'print_format', - 'website_theme', 'web_form', 'web_template', 'notification', 'print_style', - 'data_migration_mapping', 'data_migration_plan', 'workspace', - 'onboarding_step', 'module_onboarding'] + document_types = [ + "doctype", + "page", + "report", + "dashboard_chart_source", + "print_format", + "web_page", + "website_theme", + "web_form", + "web_template", + "notification", + "print_style", + "data_migration_mapping", + "data_migration_plan", + "workspace", + "onboarding_step", + "module_onboarding", + "form_tour", + "client_script", + "server_script", + "custom_field", + "property_setter", + ] for doctype in document_types: doctype_path = os.path.join(start_path, doctype) if os.path.exists(doctype_path): @@ -95,4 +114,4 @@ def get_doc_files(files, start_path): if not doc_path in files: files.append(doc_path) - return files \ No newline at end of file + return files