mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-29 19:48:27 +00:00
Merge branch 'master' into production
This commit is contained in:
@@ -51,7 +51,7 @@ class DocType:
|
||||
# -------------------------------------------------------------------
|
||||
def get_permissions(self,doctype):
|
||||
import webnotes.model.doctype
|
||||
doclist = webnotes.model.doctype.get(doctype)
|
||||
doclist = webnotes.model.doctype.get(doctype).get_parent_doclist()
|
||||
|
||||
ptype = [{
|
||||
'role': perm.role,
|
||||
|
||||
Reference in New Issue
Block a user