domanifying ERPNext via #5334
This commit is contained in:
parent
9c6c0d2836
commit
99f7528578
@ -7,15 +7,25 @@ import frappe
|
|||||||
domains = {
|
domains = {
|
||||||
'Manufacturing': {
|
'Manufacturing': {
|
||||||
'desktop_icons': ['Item', 'BOM', 'Customer', 'Supplier', 'Sales Order',
|
'desktop_icons': ['Item', 'BOM', 'Customer', 'Supplier', 'Sales Order',
|
||||||
'Production Order', 'Stock Entry', 'Buying', 'Selling', 'Accounts']
|
'Production Order', 'Stock Entry', 'Purchase Order', 'Buying', 'Selling', 'Accounts'],
|
||||||
|
'remove_roles': ['Maintenance Manager', 'Maintenance User', 'Support Manager', 'Support Team'],
|
||||||
},
|
},
|
||||||
|
|
||||||
'Retail': {
|
'Retail': {
|
||||||
|
'desktop_icons': ['POS', 'Item', 'Customer', 'Sales Invoice', 'Purchase Order', 'Accounts',
|
||||||
|
'Buying'],
|
||||||
'remove_roles': ['Manufacturing User', 'Manufacturing Manager', 'Maintenance User'],
|
'remove_roles': ['Manufacturing User', 'Manufacturing Manager', 'Maintenance User'],
|
||||||
'desktop_icons': ['POS', 'Item', 'Customer', 'Sales Invoice', 'Accounts']
|
|
||||||
},
|
},
|
||||||
|
|
||||||
'Distribution': {
|
'Distribution': {
|
||||||
|
'desktop_icons': ['Item', 'Customer', 'Supplier', 'Lead', 'Sales Order',
|
||||||
|
'Sales Invoice', 'CRM', 'Selling', 'Buying', 'Stock', 'Accounts'],
|
||||||
'remove_roles': ['Manufacturing User', 'Manufacturing Manager', 'Maintenance User'],
|
'remove_roles': ['Manufacturing User', 'Manufacturing Manager', 'Maintenance User'],
|
||||||
|
'properties': [
|
||||||
|
{'doctype': 'Item', 'fieldname': 'manufacturing', 'property': 'hidden', 'value': 1},
|
||||||
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
'Services': {
|
'Services': {
|
||||||
'desktop_icons': ['Project', 'Time Log', 'Customer', 'Sales Invoice', 'Lead', 'Opportunity',
|
'desktop_icons': ['Project', 'Time Log', 'Customer', 'Sales Invoice', 'Lead', 'Opportunity',
|
||||||
'Expense Claim', 'Employee'],
|
'Expense Claim', 'Employee'],
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
"allow_import": 1,
|
"allow_import": 1,
|
||||||
"allow_rename": 1,
|
"allow_rename": 1,
|
||||||
"autoname": "field:item_code",
|
"autoname": "field:item_code",
|
||||||
|
"beta": 0,
|
||||||
"creation": "2013-05-03 10:45:46",
|
"creation": "2013-05-03 10:45:46",
|
||||||
"custom": 0,
|
"custom": 0,
|
||||||
"default_print_format": "Standard",
|
"default_print_format": "Standard",
|
||||||
@ -280,7 +281,7 @@
|
|||||||
"allow_on_submit": 0,
|
"allow_on_submit": 0,
|
||||||
"bold": 1,
|
"bold": 1,
|
||||||
"collapsible": 0,
|
"collapsible": 0,
|
||||||
"depends_on": "__islocal",
|
"depends_on": "eval:(doc.__islocal&&doc.is_stock_item)",
|
||||||
"fieldname": "opening_stock",
|
"fieldname": "opening_stock",
|
||||||
"fieldtype": "Int",
|
"fieldtype": "Int",
|
||||||
"hidden": 0,
|
"hidden": 0,
|
||||||
@ -1678,6 +1679,7 @@
|
|||||||
"allow_on_submit": 0,
|
"allow_on_submit": 0,
|
||||||
"bold": 0,
|
"bold": 0,
|
||||||
"collapsible": 1,
|
"collapsible": 1,
|
||||||
|
"depends_on": "is_stock_item",
|
||||||
"fieldname": "manufacturing",
|
"fieldname": "manufacturing",
|
||||||
"fieldtype": "Section Break",
|
"fieldtype": "Section Break",
|
||||||
"hidden": 0,
|
"hidden": 0,
|
||||||
@ -2226,8 +2228,8 @@
|
|||||||
"issingle": 0,
|
"issingle": 0,
|
||||||
"istable": 0,
|
"istable": 0,
|
||||||
"max_attachments": 1,
|
"max_attachments": 1,
|
||||||
"modified": "2016-04-15 07:10:24.271815",
|
"modified": "2016-05-12 15:33:02.407671",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "umair@erpnext.com",
|
||||||
"module": "Stock",
|
"module": "Stock",
|
||||||
"name": "Item",
|
"name": "Item",
|
||||||
"owner": "Administrator",
|
"owner": "Administrator",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user