[fix] Linked With - also remove msgprint when catching PermissionError

This commit is contained in:
Anand Doshi 2015-06-12 18:03:44 -04:00
parent 57162624cb
commit 398336bd64

View file

@ -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: