[fix] Linked With - also remove msgprint when catching PermissionError
This commit is contained in:
parent
57162624cb
commit
398336bd64
1 changed files with 1 additions and 0 deletions
|
|
@ -144,6 +144,7 @@ def get_linked_docs(doctype, name, metadata_loaded=None, no_metadata=False):
|
|||
filters=[[dt, link.get("fieldname"), '=', name]])
|
||||
|
||||
except frappe.PermissionError:
|
||||
frappe.local.message_log.pop()
|
||||
continue
|
||||
|
||||
if ret:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue