From b85436f95426fb8491186c5c6ff59c25968bf1c5 Mon Sep 17 00:00:00 2001 From: Corentin Forler Date: Fri, 4 Jul 2025 16:25:51 +0200 Subject: [PATCH] fix: Fix typo in check perms for timeline data --- erpnext/accounts/party.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/party.py b/erpnext/accounts/party.py index d6c25469ff..ec0dd3fe41 100644 --- a/erpnext/accounts/party.py +++ b/erpnext/accounts/party.py @@ -897,7 +897,7 @@ def get_timeline_data(doctype, name, included_doctypes=None): data = list(communication_data) for doctype in included_doctypes: - if not frappe.has_permission(doctype, "read"): + if not frappe.has_permission(doctype["name"], "read"): continue data.extend( -- GitLab