From cd989da7701dbc12bc2738b99d217696e53acf7d Mon Sep 17 00:00:00 2001 From: mbauskar Date: Wed, 30 Aug 2017 00:13:35 +0530 Subject: [PATCH] [hotfix] dont update the modified date for already fetched email (communication) --- 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 ff21214def..2886a3db27 100755 --- a/frappe/email/doctype/email_account/email_account.py +++ b/frappe/email/doctype/email_account/email_account.py @@ -344,7 +344,7 @@ class EmailAccount(Document): if names: name = names[0].get("name") # email is already available update communication uid instead - frappe.db.set_value("Communication", name, "uid", uid) + frappe.db.set_value("Communication", name, "uid", uid, update_modified=False) return communication = frappe.get_doc({