From 8a80840abd4addb09396237367d8b4d6b279164e Mon Sep 17 00:00:00 2001 From: Raffael Meyer <14891507+barredterra@users.noreply.github.com> Date: Tue, 7 Apr 2026 22:37:09 +0200 Subject: [PATCH] fix(Email Account): create_dummy (#38480) --- frappe/email/doctype/email_account/email_account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/email/doctype/email_account/email_account.py b/frappe/email/doctype/email_account/email_account.py index 517d1204b2..7be1b53ac1 100755 --- a/frappe/email/doctype/email_account/email_account.py +++ b/frappe/email/doctype/email_account/email_account.py @@ -492,7 +492,7 @@ class EmailAccount(Document): @classmethod def create_dummy(cls): - return cls.from_record({"sender": "notifications@example.com"}) + return cls.from_record({"name": "Notifications", "email_id": "notifications@example.com"}) @classmethod @cache_email_account("outgoing_email_account")