From 17ae73acaddefc4db17df08d06c8af7470ea68c1 Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Thu, 24 Apr 2025 13:08:14 +0200 Subject: [PATCH] fix(Comment): logic for update notification --- frappe/core/doctype/comment/comment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/core/doctype/comment/comment.py b/frappe/core/doctype/comment/comment.py index e9fdbbca96..5398449b1b 100644 --- a/frappe/core/doctype/comment/comment.py +++ b/frappe/core/doctype/comment/comment.py @@ -66,7 +66,7 @@ class Comment(Document): def on_update(self): update_comment_in_doc(self) - if self.is_new(): + if not self.is_new(): self.notify_change("update") def on_trash(self):