fixes in install docs for roles
This commit is contained in:
parent
acb3d56e02
commit
24e18569d9
@ -19,8 +19,8 @@ from webnotes.utils import flt
|
||||
from webnotes.model.code import get_obj
|
||||
|
||||
install_docs = [
|
||||
{"doctype":"Role", "name":"Accounts Manager"},
|
||||
{"doctype":"Role", "name":"Accounts User"}
|
||||
{"doctype":"Role", "role_name":"Accounts Manager", "name":"Accounts Manager"},
|
||||
{"doctype":"Role", "role_name":"Accounts User", "name":"Accounts User"}
|
||||
]
|
||||
|
||||
@webnotes.whitelist()
|
||||
|
@ -1,6 +1,6 @@
|
||||
install_docs = [
|
||||
{"doctype":"Role", "name":"Purchase Manager"},
|
||||
{"doctype":"Role", "name":"Purchase User"},
|
||||
{"doctype":"Role", "name":"Purchase Master Manager"},
|
||||
{"doctype":"Role", "name":"Supplier"}
|
||||
]
|
||||
{"doctype":"Role", "role_name":"Purchase Manager", "name":"Purchase Manager"},
|
||||
{"doctype":"Role", "role_name":"Purchase User", "name":"Purchase User"},
|
||||
{"doctype":"Role", "role_name":"Purchase Master Manager", "name":"Purchase Master Manager"},
|
||||
{"doctype":"Role", "role_name":"Supplier", "name":"Supplier"}
|
||||
]
|
||||
|
@ -1,5 +1,5 @@
|
||||
install_docs = [
|
||||
{"doctype":"Role", "name":"Employee"},
|
||||
{"doctype":"Role", "name":"HR Manager"},
|
||||
{"doctype":"Role", "name":"HR User"},
|
||||
{"doctype":"Role", "role_name":"Employee", "name":"Employee"},
|
||||
{"doctype":"Role", "role_name":"HR Manager", "name":"HR Manager"},
|
||||
{"doctype":"Role", "role_name":"HR User", "name":"HR User"},
|
||||
]
|
||||
|
@ -1,4 +1,4 @@
|
||||
install_docs = [
|
||||
{"doctype":"Role", "name":"Production Manager"},
|
||||
{"doctype":"Role", "name":"Production User"},
|
||||
{"doctype":"Role", "role_name":"Production Manager", "name":"Production Manager"},
|
||||
{"doctype":"Role", "role_name":"Production User", "name":"Production User"},
|
||||
]
|
||||
|
@ -1,3 +1,3 @@
|
||||
install_docs = [
|
||||
{"doctype":"Role", "name":"Projects User"},
|
||||
{"doctype":"Role", "role_name":"Projects User", "name":"Projects User"},
|
||||
]
|
||||
|
@ -1,7 +1,7 @@
|
||||
install_docs = [
|
||||
{"doctype":"Role", "name":"Customer"},
|
||||
{"doctype":"Role", "name":"Partner"},
|
||||
{"doctype":"Role", "name":"Sales Manager"},
|
||||
{"doctype":"Role", "name":"Sales Master Manager"},
|
||||
{"doctype":"Role", "name":"Sales User"},
|
||||
{"doctype":"Role", "role_name":"Customer", "name":"Customer"},
|
||||
{"doctype":"Role", "role_name":"Partner", "name":"Partner"},
|
||||
{"doctype":"Role", "role_name":"Sales Manager", "name":"Sales Manager"},
|
||||
{"doctype":"Role", "role_name":"Sales Master Manager", "name":"Sales Master Manager"},
|
||||
{"doctype":"Role", "role_name":"Sales User", "name":"Sales User"},
|
||||
]
|
||||
|
@ -1,6 +1,6 @@
|
||||
install_docs = [
|
||||
{"doctype":"Role", "name":"Material Manager"},
|
||||
{"doctype":"Role", "name":"Material Master Manager"},
|
||||
{"doctype":"Role", "name":"Material User"},
|
||||
{"doctype":"Role", "name":"Quality Manager"},
|
||||
{"doctype":"Role", "role_name":"Material Manager", "name":"Material Manager"},
|
||||
{"doctype":"Role", "role_name":"Material Master Manager", "name":"Material Master Manager"},
|
||||
{"doctype":"Role", "role_name":"Material User", "name":"Material User"},
|
||||
{"doctype":"Role", "role_name":"Quality Manager", "name":"Quality Manager"},
|
||||
]
|
||||
|
@ -1,4 +1,4 @@
|
||||
install_docs = [
|
||||
{"doctype":"Role", "name":"Blogger"},
|
||||
{"doctype":"Role", "name":"Website Manager"},
|
||||
]
|
||||
{"doctype":"Role", "role_name":"Blogger", "name":"Blogger"},
|
||||
{"doctype":"Role", "role_name":"Website Manager", "name":"Website Manager"},
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user