mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-02 21:18:27 +00:00
hotfix: communication email bug
This commit is contained in:
@@ -87,6 +87,7 @@ class StatusUpdater(Document):
|
||||
frappe.db.set_value(self.doctype, self.name, "status", self.status)
|
||||
|
||||
def on_communication(self):
|
||||
if not self.get("communication"): return
|
||||
self.communication_set = True
|
||||
self.get("communications").sort(key=lambda d: d.creation)
|
||||
self.set_status(update=True)
|
||||
|
||||
Reference in New Issue
Block a user