From 39523916d416dba9a7d3c5402435365304ea030f Mon Sep 17 00:00:00 2001 From: Akhil Narang Date: Wed, 23 Apr 2025 14:53:56 +0530 Subject: [PATCH] fix: don't create example email domains and email accounts Signed-off-by: Akhil Narang --- .../page/setup_wizard/install_fixtures.py | 7 ------- frappe/utils/install.py | 21 ------------------- 2 files changed, 28 deletions(-) diff --git a/frappe/desk/page/setup_wizard/install_fixtures.py b/frappe/desk/page/setup_wizard/install_fixtures.py index 7115573e0b..60c832b78a 100644 --- a/frappe/desk/page/setup_wizard/install_fixtures.py +++ b/frappe/desk/page/setup_wizard/install_fixtures.py @@ -19,7 +19,6 @@ def install(): update_genders() update_salutations() update_global_search_doctypes() - setup_email_linking() sync_dashboards() add_unsubscribe() @@ -56,12 +55,6 @@ def update_salutations(): doc.insert(ignore_permissions=True, ignore_if_duplicate=True) -def setup_email_linking(): - doc = frappe.new_doc("Email Account") - doc.email_id = "email_linking@example.com" - doc.insert(ignore_permissions=True, ignore_if_duplicate=True) - - def add_unsubscribe(): for unsubscribe in [ {"email": "admin@example.com", "global_unsubscribe": 1}, diff --git a/frappe/utils/install.py b/frappe/utils/install.py index 195e9a4c0a..32856bc8fa 100644 --- a/frappe/utils/install.py +++ b/frappe/utils/install.py @@ -112,27 +112,6 @@ def install_basic_docs(): {"doctype": "Workflow Action Master", "workflow_action_name": "Approve"}, {"doctype": "Workflow Action Master", "workflow_action_name": "Reject"}, {"doctype": "Workflow Action Master", "workflow_action_name": "Review"}, - { - "doctype": "Email Domain", - "domain_name": "example.com", - "email_id": "account@example.com", - "password": "pass", - "email_server": "imap.example.com", - "use_imap": 1, - "smtp_server": "smtp.example.com", - }, - { - "doctype": "Email Account", - "domain": "example.com", - "email_id": "notifications@example.com", - "default_outgoing": 1, - }, - { - "doctype": "Email Account", - "domain": "example.com", - "email_id": "replies@example.com", - "default_incoming": 1, - }, ] for d in install_docs: