From de4efdb70518273d96c9f3e5ea1aaf1d7645b479 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Fri, 23 Oct 2015 21:09:09 +0530 Subject: [PATCH] [fix] Communication Medium. Fixes #1357 --- frappe/core/doctype/communication/communication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/core/doctype/communication/communication.py b/frappe/core/doctype/communication/communication.py index 75f1cecc8d..b909fd7856 100644 --- a/frappe/core/doctype/communication/communication.py +++ b/frappe/core/doctype/communication/communication.py @@ -366,7 +366,7 @@ def make(doctype=None, name=None, content=None, subject=None, sent_or_received = "sender": sender, "recipients": recipients, "cc": cc or None, - "communication_medium": "Email", + "communication_medium": communication_medium, "sent_or_received": sent_or_received, "reference_doctype": doctype, "reference_name": name