From 9594c0385a3fb876a629edcd57104bc16f9a2747 Mon Sep 17 00:00:00 2001 From: sibikumarkuppusamy Date: Tue, 12 Nov 2024 15:05:37 +0530 Subject: [PATCH] fix: connection count --- frappe/desk/notifications.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frappe/desk/notifications.py b/frappe/desk/notifications.py index 36202129135f..925be7d8ffe2 100644 --- a/frappe/desk/notifications.py +++ b/frappe/desk/notifications.py @@ -356,6 +356,7 @@ def get_doc_count(doctype, filters): ) ) except: + frappe.db.rollback() return 0