Merge branch 'shf_rename' of github.com:webnotes/erpnext into shf_rename

This commit is contained in:
Anand Doshi
2012-04-18 16:08:15 +05:30
4 changed files with 14 additions and 8 deletions

View File

@@ -68,7 +68,8 @@ class DocType:
'create': cint(perm.create),
'cancel': cint(perm.cancel),
'submit': cint(perm.submit),
'amend': cint(perm.amend)
'amend': cint(perm.amend),
'match': perm.match
} for perm in sorted(doclist,
key=lambda d: [d.fields.get('permlevel'),
d.fields.get('role')]) if perm.doctype=='DocPerm']