Support ticket / lead status based on communication. Fixes #1645

This commit is contained in:
Nabin Hait 2014-05-19 19:31:40 +05:30
parent 2e0620e370
commit 85786f3071

View File

@ -88,6 +88,7 @@ class StatusUpdater(Document):
def on_communication(self):
self.communication_set = True
self.get("communications").sort(key=lambda d: d.creation)
self.set_status(update=True)
del self.communication_set