mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 01:34:10 +00:00
level was not adding in add_permission()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user