mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 03:01:22 +00:00
[cleanup] Maintenance Schedule, Maintenance Visit
This commit is contained in:
@@ -177,7 +177,7 @@ class DocType(TransactionBase):
|
||||
|
||||
@webnotes.whitelist()
|
||||
def get_dashboard_info(customer):
|
||||
if not webnotes.has_permission("Customer", customer):
|
||||
if not webnotes.has_permission("Customer", "read", customer):
|
||||
webnotes.msgprint("No Permission", raise_exception=True)
|
||||
|
||||
out = {}
|
||||
|
||||
Reference in New Issue
Block a user