fix: don't create example email domains and email accounts

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
Akhil Narang 2025-04-23 14:53:56 +05:30
parent 43a8dbfcbf
commit 39523916d4
No known key found for this signature in database
GPG key ID: 9DCC61E211BF645F
2 changed files with 0 additions and 28 deletions

View file

@ -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},

View file

@ -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: