Merge branch 'master' into production

This commit is contained in:
Nabin Hait
2012-12-17 11:39:41 +05:30
3 changed files with 20 additions and 20 deletions

View File

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