From 3e38d36580c15f6c9730db383d0eb7d5daea6a0b Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Fri, 22 Feb 2013 13:08:14 +0530 Subject: [PATCH] fixes in sales email pulling --- selling/doctype/lead/get_leads.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selling/doctype/lead/get_leads.py b/selling/doctype/lead/get_leads.py index 8c8200c09a..b0e64847bc 100644 --- a/selling/doctype/lead/get_leads.py +++ b/selling/doctype/lead/get_leads.py @@ -64,7 +64,7 @@ class SalesMailbox(POP3Mailbox): if mail.from_email == self.settings.email_id: return - add_sales_communication(mail.mail.get("subject", "[No Subject]"), mail.content, mail.form_email, + add_sales_communication(mail.mail.get("subject", "[No Subject]"), mail.content, mail.from_email, mail.from_real_name, mail=mail, date=mail.date) def get_leads():