[hotfix] dont update the modified date for already fetched email (communication)

This commit is contained in:
mbauskar 2017-08-30 00:13:35 +05:30
parent 82193d8fcf
commit cd989da770

View file

@ -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({