fixes in install docs for roles

This commit is contained in:
Anand Doshi 2012-04-17 11:45:35 +05:30
parent acb3d56e02
commit 24e18569d9
8 changed files with 25 additions and 25 deletions

View File

@ -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()

View File

@ -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"}
]

View File

@ -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"},
]

View File

@ -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"},
]

View File

@ -1,3 +1,3 @@
install_docs = [
{"doctype":"Role", "name":"Projects User"},
{"doctype":"Role", "role_name":"Projects User", "name":"Projects User"},
]

View File

@ -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"},
]

View File

@ -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"},
]

View File

@ -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"},
]