Support ticket / lead status based on communication. Fixes #1645
This commit is contained in:
@@ -88,6 +88,7 @@ class StatusUpdater(Document):
|
|||||||
|
|
||||||
def on_communication(self):
|
def on_communication(self):
|
||||||
self.communication_set = True
|
self.communication_set = True
|
||||||
|
self.get("communications").sort(key=lambda d: d.creation)
|
||||||
self.set_status(update=True)
|
self.set_status(update=True)
|
||||||
del self.communication_set
|
del self.communication_set
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user