level was not adding in add_permission()

This commit is contained in:
Nabin Hait 2011-08-05 11:08:42 +05:30
parent 4a2f8c8179
commit 71f2bd97b6

View File

@ -85,7 +85,8 @@ class DocType:
d.parent = doctype
d.parenttype = 'DocType'
d.parentfield = 'permissions'
d.level = level
d.role = role
d.read = read
d.write = write