mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
level was not adding in add_permission()
This commit is contained in:
@@ -85,7 +85,8 @@ class DocType:
|
|||||||
d.parent = doctype
|
d.parent = doctype
|
||||||
d.parenttype = 'DocType'
|
d.parenttype = 'DocType'
|
||||||
d.parentfield = 'permissions'
|
d.parentfield = 'permissions'
|
||||||
|
|
||||||
|
d.level = level
|
||||||
d.role = role
|
d.role = role
|
||||||
d.read = read
|
d.read = read
|
||||||
d.write = write
|
d.write = write
|
||||||
|
|||||||
Reference in New Issue
Block a user