Global Settings in Setup, Sales Master Manager can restrict for Customer
This commit is contained in:
parent
6b12b07b33
commit
64f2ccd9e1
@ -2,6 +2,19 @@ from frappe import _
|
|||||||
from frappe.widgets.moduleview import get_config
|
from frappe.widgets.moduleview import get_config
|
||||||
|
|
||||||
data = [
|
data = [
|
||||||
|
{
|
||||||
|
"label": _("Tools"),
|
||||||
|
"icon": "icon-wrench",
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"type": "doctype",
|
||||||
|
"name": "Global Defaults",
|
||||||
|
"label": _("Global Settings"),
|
||||||
|
"description": _("Set the Date & Number Formats, Default Currency, Current Fiscal Year, etc."),
|
||||||
|
"hide_count": True
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"label": _("Customize"),
|
"label": _("Customize"),
|
||||||
"icon": "icon-glass",
|
"icon": "icon-glass",
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
"creation": "2013-06-11 14:26:44",
|
"creation": "2013-06-11 14:26:44",
|
||||||
"docstatus": 0,
|
"docstatus": 0,
|
||||||
"modified": "2014-02-28 11:39:53",
|
"modified": "2014-03-03 19:05:58",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"owner": "Administrator"
|
"owner": "Administrator"
|
||||||
},
|
},
|
||||||
@ -363,6 +363,7 @@
|
|||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"print": 1,
|
"print": 1,
|
||||||
"report": 1,
|
"report": 1,
|
||||||
|
"restrict": 1,
|
||||||
"role": "Sales Master Manager",
|
"role": "Sales Master Manager",
|
||||||
"submit": 0,
|
"submit": 0,
|
||||||
"write": 1
|
"write": 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user