[fix] added required permissions for fiscal year, brand, company, country, currency, item group, price list, uom and warehouse
diff --git a/accounts/doctype/fiscal_year/fiscal_year.txt b/accounts/doctype/fiscal_year/fiscal_year.txt
index 511adf5..6d64fcd 100644
--- a/accounts/doctype/fiscal_year/fiscal_year.txt
+++ b/accounts/doctype/fiscal_year/fiscal_year.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-01-22 16:50:25",
"docstatus": 0,
- "modified": "2013-07-05 14:38:22",
+ "modified": "2013-07-23 11:59:11",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -24,19 +24,13 @@
"permlevel": 0
},
{
- "cancel": 1,
- "create": 1,
"doctype": "DocPerm",
"name": "__common__",
"parent": "Fiscal Year",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
- "read": 1,
- "report": 1,
- "role": "System Manager",
- "submit": 0,
- "write": 1
+ "read": 1
},
{
"doctype": "DocType",
@@ -76,6 +70,16 @@
"reqd": 0
},
{
- "doctype": "DocPerm"
+ "cancel": 1,
+ "create": 1,
+ "doctype": "DocPerm",
+ "report": 1,
+ "role": "System Manager",
+ "submit": 0,
+ "write": 1
+ },
+ {
+ "doctype": "DocPerm",
+ "role": "All"
}
]
\ No newline at end of file
diff --git a/setup/doctype/brand/brand.txt b/setup/doctype/brand/brand.txt
index 633e8aa..1fd9cec 100644
--- a/setup/doctype/brand/brand.txt
+++ b/setup/doctype/brand/brand.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-02-22 01:27:54",
"docstatus": 0,
- "modified": "2013-07-05 14:28:33",
+ "modified": "2013-07-23 12:06:41",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -71,5 +71,17 @@
"role": "Material User",
"submit": 0,
"write": 0
+ },
+ {
+ "doctype": "DocPerm",
+ "role": "Sales User"
+ },
+ {
+ "doctype": "DocPerm",
+ "role": "Purchase User"
+ },
+ {
+ "doctype": "DocPerm",
+ "role": "Accounts User"
}
]
\ No newline at end of file
diff --git a/setup/doctype/company/company.txt b/setup/doctype/company/company.txt
index 134af2c..6ca3668 100644
--- a/setup/doctype/company/company.txt
+++ b/setup/doctype/company/company.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-04-10 08:35:39",
"docstatus": 0,
- "modified": "2013-07-10 18:17:55",
+ "modified": "2013-07-23 11:58:36",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -25,20 +25,13 @@
"permlevel": 0
},
{
- "amend": 0,
- "cancel": 1,
- "create": 1,
"doctype": "DocPerm",
"name": "__common__",
"parent": "Company",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
- "read": 1,
- "report": 1,
- "role": "System Manager",
- "submit": 0,
- "write": 1
+ "read": 1
},
{
"doctype": "DocType",
@@ -380,6 +373,17 @@
"read_only": 1
},
{
- "doctype": "DocPerm"
+ "amend": 0,
+ "cancel": 1,
+ "create": 1,
+ "doctype": "DocPerm",
+ "report": 1,
+ "role": "System Manager",
+ "submit": 0,
+ "write": 1
+ },
+ {
+ "doctype": "DocPerm",
+ "role": "All"
}
]
\ No newline at end of file
diff --git a/setup/doctype/country/country.txt b/setup/doctype/country/country.txt
index ee54dcf..8b811a3 100644
--- a/setup/doctype/country/country.txt
+++ b/setup/doctype/country/country.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-01-19 10:23:30",
"docstatus": 0,
- "modified": "2013-07-05 14:33:19",
+ "modified": "2013-07-23 12:05:08",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -25,7 +25,6 @@
"permlevel": 0
},
{
- "create": 1,
"doctype": "DocPerm",
"name": "__common__",
"parent": "Country",
@@ -33,9 +32,7 @@
"parenttype": "DocType",
"permlevel": 0,
"read": 1,
- "report": 1,
- "submit": 0,
- "write": 1
+ "report": 1
},
{
"doctype": "DocType",
@@ -65,19 +62,35 @@
{
"amend": 0,
"cancel": 0,
+ "create": 1,
"doctype": "DocPerm",
- "role": "Sales Master Manager"
+ "role": "Sales Master Manager",
+ "submit": 0,
+ "write": 1
+ },
+ {
+ "create": 1,
+ "doctype": "DocPerm",
+ "role": "Purchase Master Manager",
+ "submit": 0,
+ "write": 1
+ },
+ {
+ "create": 1,
+ "doctype": "DocPerm",
+ "role": "HR User",
+ "submit": 0,
+ "write": 1
+ },
+ {
+ "create": 1,
+ "doctype": "DocPerm",
+ "role": "HR Manager",
+ "submit": 0,
+ "write": 1
},
{
"doctype": "DocPerm",
- "role": "Purchase Master Manager"
- },
- {
- "doctype": "DocPerm",
- "role": "HR User"
- },
- {
- "doctype": "DocPerm",
- "role": "HR Manager"
+ "role": "All"
}
]
\ No newline at end of file
diff --git a/setup/doctype/currency/currency.txt b/setup/doctype/currency/currency.txt
index 2954c9f..7476ccf 100644
--- a/setup/doctype/currency/currency.txt
+++ b/setup/doctype/currency/currency.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-01-28 10:06:02",
"docstatus": 0,
- "modified": "2013-07-05 14:33:39",
+ "modified": "2013-07-23 12:05:26",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -25,7 +25,6 @@
"permlevel": 0
},
{
- "create": 1,
"doctype": "DocPerm",
"name": "__common__",
"parent": "Currency",
@@ -33,9 +32,7 @@
"parenttype": "DocType",
"permlevel": 0,
"read": 1,
- "report": 1,
- "submit": 0,
- "write": 1
+ "report": 1
},
{
"doctype": "DocType",
@@ -92,19 +89,32 @@
},
{
"cancel": 1,
+ "create": 1,
"doctype": "DocPerm",
- "role": "Accounts Manager"
+ "role": "Accounts Manager",
+ "submit": 0,
+ "write": 1
},
{
"amend": 0,
"cancel": 1,
+ "create": 1,
"doctype": "DocPerm",
- "role": "Sales Master Manager"
+ "role": "Sales Master Manager",
+ "submit": 0,
+ "write": 1
},
{
"amend": 0,
"cancel": 0,
+ "create": 1,
"doctype": "DocPerm",
- "role": "Purchase Master Manager"
+ "role": "Purchase Master Manager",
+ "submit": 0,
+ "write": 1
+ },
+ {
+ "doctype": "DocPerm",
+ "role": "All"
}
]
\ No newline at end of file
diff --git a/setup/doctype/item_group/item_group.txt b/setup/doctype/item_group/item_group.txt
index 44faa49..6e7edf9 100644
--- a/setup/doctype/item_group/item_group.txt
+++ b/setup/doctype/item_group/item_group.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-03-28 10:35:29",
"docstatus": 0,
- "modified": "2013-07-22 15:29:54",
+ "modified": "2013-07-23 12:00:14",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -37,8 +37,7 @@
"parenttype": "DocType",
"permlevel": 0,
"read": 1,
- "report": 1,
- "submit": 0
+ "report": 1
},
{
"doctype": "DocType",
@@ -180,6 +179,7 @@
"create": 0,
"doctype": "DocPerm",
"role": "Material Manager",
+ "submit": 0,
"write": 0
},
{
@@ -188,6 +188,7 @@
"create": 0,
"doctype": "DocPerm",
"role": "Material User",
+ "submit": 0,
"write": 0
},
{
@@ -195,6 +196,19 @@
"create": 1,
"doctype": "DocPerm",
"role": "Material Master Manager",
+ "submit": 0,
"write": 1
+ },
+ {
+ "doctype": "DocPerm",
+ "role": "Sales User"
+ },
+ {
+ "doctype": "DocPerm",
+ "role": "Purchase User"
+ },
+ {
+ "doctype": "DocPerm",
+ "role": "Accounts User"
}
]
\ No newline at end of file
diff --git a/setup/doctype/price_list/price_list.txt b/setup/doctype/price_list/price_list.txt
index 769e3d0..1af2e1b 100644
--- a/setup/doctype/price_list/price_list.txt
+++ b/setup/doctype/price_list/price_list.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-01-25 11:35:09",
"docstatus": 0,
- "modified": "2013-07-05 14:50:47",
+ "modified": "2013-07-23 12:03:25",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -29,7 +29,6 @@
"permlevel": 0
},
{
- "amend": 0,
"doctype": "DocPerm",
"name": "__common__",
"parent": "Price List",
@@ -37,8 +36,7 @@
"parenttype": "DocType",
"permlevel": 0,
"read": 1,
- "report": 1,
- "submit": 0
+ "report": 1
},
{
"doctype": "DocType",
@@ -118,24 +116,32 @@
"options": "<div class=\"well\">Use the <a href=\"#data-import-tool\">Data Import Tool</a> to upload, update Item Prices in bulk:\n<ol> \n<li>Go to Data Import Tool.\n<li>Select \"Item\"\n<li>Check on \"With Data\"\n<li>Download \"Item Price\" from Child Tables.\n<li>Update the prices required and add new rows if required.\n<li>Check on \"Overwrite\"\n<li>Upload the modified sheet.\n</div>\n"
},
{
- "cancel": 0,
- "create": 0,
- "doctype": "DocPerm",
- "role": "Sales Manager",
- "write": 0
- },
- {
+ "amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"role": "Sales User",
+ "submit": 0,
"write": 0
},
{
+ "amend": 0,
+ "cancel": 1,
+ "create": 1,
+ "doctype": "DocPerm",
+ "role": "Sales Master Manager",
+ "submit": 0,
+ "write": 1
+ },
+ {
+ "doctype": "DocPerm",
+ "role": "Purchase User"
+ },
+ {
"cancel": 1,
"create": 1,
"doctype": "DocPerm",
- "role": "Sales Master Manager",
+ "role": "Purchase Master Manager",
"write": 1
}
]
\ No newline at end of file
diff --git a/setup/doctype/uom/uom.txt b/setup/doctype/uom/uom.txt
index ac15095..0837558 100644
--- a/setup/doctype/uom/uom.txt
+++ b/setup/doctype/uom/uom.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-01-10 16:34:24",
"docstatus": 0,
- "modified": "2013-07-05 15:02:01",
+ "modified": "2013-07-23 12:03:54",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -23,7 +23,6 @@
"permlevel": 0
},
{
- "amend": 0,
"doctype": "DocPerm",
"name": "__common__",
"parent": "UOM",
@@ -31,8 +30,7 @@
"parenttype": "DocType",
"permlevel": 0,
"read": 1,
- "report": 1,
- "submit": 0
+ "report": 1
},
{
"doctype": "DocType",
@@ -64,24 +62,34 @@
"reqd": 1
},
{
+ "amend": 0,
"cancel": 1,
"create": 1,
"doctype": "DocPerm",
"role": "Material Master Manager",
+ "submit": 0,
"write": 1
},
{
+ "amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"role": "Material Manager",
+ "submit": 0,
"write": 0
},
{
+ "amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"role": "Material User",
+ "submit": 0,
"write": 0
+ },
+ {
+ "doctype": "DocPerm",
+ "role": "All"
}
]
\ No newline at end of file
diff --git a/stock/doctype/warehouse/warehouse.txt b/stock/doctype/warehouse/warehouse.txt
index f6d3bcc..631b968 100644
--- a/stock/doctype/warehouse/warehouse.txt
+++ b/stock/doctype/warehouse/warehouse.txt
@@ -2,7 +2,7 @@
{
"creation": "2013-03-07 18:50:32",
"docstatus": 0,
- "modified": "2013-07-22 15:20:35",
+ "modified": "2013-07-23 12:01:16",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -24,7 +24,6 @@
"read_only": 0
},
{
- "amend": 0,
"doctype": "DocPerm",
"name": "__common__",
"parent": "Warehouse",
@@ -32,8 +31,7 @@
"parenttype": "DocType",
"permlevel": 0,
"read": 1,
- "report": 1,
- "submit": 0
+ "report": 1
},
{
"doctype": "DocType",
@@ -203,17 +201,33 @@
"permlevel": 2
},
{
+ "amend": 0,
"cancel": 1,
"create": 1,
"doctype": "DocPerm",
"role": "Material Master Manager",
+ "submit": 0,
"write": 1
},
{
+ "amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"role": "Material User",
+ "submit": 0,
"write": 0
+ },
+ {
+ "doctype": "DocPerm",
+ "role": "Sales User"
+ },
+ {
+ "doctype": "DocPerm",
+ "role": "Purchase User"
+ },
+ {
+ "doctype": "DocPerm",
+ "role": "Accounts User"
}
]
\ No newline at end of file