Skip to content

EspoCRM – Open Source CRM Application

update super parent stream updated at

Yuri Kuznetsov1579d622776d
diff --git a/application/Espo/Tools/Stream/Service.php b/application/Espo/Tools/Stream/Service.php
index 48a85436c8..0b1c342055 100644
--- a/application/Espo/Tools/Stream/Service.php
+++ b/application/Espo/Tools/Stream/Service.php
@@ -692,6 +692,12 @@ class Service
}
$this->entityManager->saveEntity($note, $noteOptions);
+
+ $superParent = $note->getSuperParent();
+
+ if ($superParent && $superParent->getEntityType() !== $entity->getEntityType()) {
+ $this->updateStreamUpdatedAt($superParent);
+ }
}
/**