rename Production --> Manufacturing and delete old patches

This commit is contained in:
Anand Doshi
2012-12-10 19:01:10 +05:30
parent 29c187118f
commit 89e2dd8dbb
124 changed files with 67 additions and 4210 deletions

View File

@@ -1,5 +1,5 @@
from __future__ import unicode_literals
install_docs = [
{"doctype":"Role", "role_name":"Production Manager", "name":"Production Manager"},
{"doctype":"Role", "role_name":"Production User", "name":"Production User"},
{"doctype":"Role", "role_name":"Manufacturing Manager", "name":"Manufacturing Manager"},
{"doctype":"Role", "role_name":"Manufacturing User", "name":"Manufacturing User"},
]

View File

@@ -4,14 +4,14 @@
"docstatus": 0,
"creation": "2012-07-03 13:30:03",
"modified_by": "Administrator",
"modified": "2012-12-03 13:29:26"
"modified": "2012-12-10 18:30:00"
},
{
"istable": 0,
"in_create": 0,
"allow_print": 0,
"search_fields": "item",
"module": "Production",
"module": "Manufacturing",
"document_type": "Master",
"allow_attach": 0,
"read_only": 0,
@@ -321,13 +321,13 @@
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"role": "Production Manager",
"role": "Manufacturing Manager",
"cancel": 1,
"permlevel": 0
},
{
"doctype": "DocPerm",
"role": "Production Manager",
"role": "Manufacturing Manager",
"permlevel": 1
},
{
@@ -335,13 +335,13 @@
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"role": "Production User",
"role": "Manufacturing User",
"cancel": 1,
"permlevel": 0
},
{
"doctype": "DocPerm",
"role": "Production User",
"role": "Manufacturing User",
"permlevel": 1
}
]

View File

@@ -5,7 +5,7 @@
{
'creation': '2012-03-27 14:36:02',
'docstatus': 0,
'modified': '2012-03-27 14:36:02',
'modified': '2012-12-10 18:30:00',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
@@ -15,7 +15,7 @@
'colour': u'White:FFF',
'doctype': 'DocType',
'issingle': 1,
'module': u'Production',
'module': u'Manufacturing',
'name': '__common__',
'section_style': u'Simple',
'server_code_error': u' ',

View File

@@ -5,7 +5,7 @@
{
'creation': '2012-03-27 14:36:03',
'docstatus': 0,
'modified': '2012-03-27 14:36:03',
'modified': '2012-12-10 18:30:00',
'modified_by': u'Administrator',
'owner': u'jai@webnotestech.com'
},
@@ -17,7 +17,7 @@
'default_print_format': u'Standard',
'doctype': 'DocType',
'istable': 1,
'module': u'Production',
'module': u'Manufacturing',
'name': '__common__',
'read_only': 0,
'section_style': u'Simple',

View File

@@ -5,7 +5,7 @@
{
'creation': '2012-03-27 14:36:02',
'docstatus': 0,
'modified': '2012-03-27 14:36:02',
'modified': '2012-12-10 18:30:00',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
@@ -16,7 +16,7 @@
'default_print_format': u'Standard',
'doctype': 'DocType',
'istable': 1,
'module': u'Production',
'module': u'Manufacturing',
'name': '__common__',
'section_style': u'Simple',
'server_code_error': u' ',

View File

@@ -5,7 +5,7 @@
{
'creation': '2012-03-27 14:36:02',
'docstatus': 0,
'modified': '2012-03-27 14:36:02',
'modified': '2012-12-10 18:30:00',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
@@ -16,7 +16,7 @@
'default_print_format': u'Standard',
'doctype': 'DocType',
'istable': 1,
'module': u'Production',
'module': u'Manufacturing',
'name': '__common__',
'section_style': u'Simple',
'server_code_error': u' ',

View File

@@ -15,7 +15,7 @@
'colour': u'White:FFF',
'doctype': 'DocType',
'issingle': 1,
'module': u'Production',
'module': u'Manufacturing',
'name': '__common__',
'section_style': u'Simple',
'server_code_error': u' ',

View File

@@ -4,14 +4,14 @@
"docstatus": 0,
"creation": "2012-07-03 13:30:03",
"modified_by": "Administrator",
"modified": "2012-12-03 15:38:54"
"modified": "2012-12-10 18:30:00"
},
{
"is_submittable": 1,
"in_create": 0,
"default_print_format": "Standard",
"doctype": "DocType",
"module": "Production",
"module": "Manufacturing",
"name": "__common__"
},
{
@@ -307,7 +307,7 @@
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"role": "Production Manager",
"role": "Manufacturing Manager",
"cancel": 1,
"permlevel": 0
},
@@ -317,7 +317,7 @@
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"role": "Production User",
"role": "Manufacturing User",
"cancel": 1,
"permlevel": 0
}

View File

@@ -4,7 +4,7 @@
"docstatus": 0,
"creation": "2012-07-03 13:30:04",
"modified_by": "Administrator",
"modified": "2012-11-29 19:02:38"
"modified": "2012-12-10 18:30:00"
},
{
"istable": 1,
@@ -12,7 +12,7 @@
"name": "__common__",
"default_print_format": "Standard",
"doctype": "DocType",
"module": "Production"
"module": "Manufacturing"
},
{
"name": "__common__",

View File

@@ -4,7 +4,7 @@
"docstatus": 0,
"creation": "2012-07-03 13:30:04",
"modified_by": "Administrator",
"modified": "2012-11-29 17:49:15"
"modified": "2012-12-10 18:30:00"
},
{
"istable": 1,
@@ -12,7 +12,7 @@
"name": "__common__",
"default_print_format": "Standard",
"doctype": "DocType",
"module": "Production"
"module": "Manufacturing"
},
{
"name": "__common__",

View File

@@ -4,7 +4,7 @@
"docstatus": 0,
"creation": "2012-07-03 13:30:03",
"modified_by": "Administrator",
"modified": "2012-12-03 15:39:44"
"modified": "2012-12-10 18:30:00"
},
{
"read_only": 1,
@@ -12,7 +12,7 @@
"in_create": 1,
"default_print_format": "Standard",
"doctype": "DocType",
"module": "Production",
"module": "Manufacturing",
"name": "__common__"
},
{
@@ -209,11 +209,11 @@
"doctype": "DocPerm"
},
{
"role": "Production User",
"role": "Manufacturing User",
"doctype": "DocPerm"
},
{
"role": "Production Manager",
"role": "Manufacturing Manager",
"doctype": "DocPerm"
}
]

View File

@@ -5,7 +5,7 @@
{
'creation': '2012-03-27 14:36:05',
'docstatus': 0,
'modified': '2012-03-27 18:46:49',
'modified': '2012-12-10 18:30:00',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
@@ -20,7 +20,7 @@
'default_print_format': u'Standard',
'doctype': 'DocType',
'document_type': u'Master',
'module': u'Production',
'module': u'Manufacturing',
'name': '__common__',
'section_style': u'Simple',
'server_code_error': u' ',
@@ -76,7 +76,7 @@
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Production User',
'role': u'Manufacturing User',
'write': 1
},
@@ -86,7 +86,7 @@
'create': 1,
'doctype': u'DocPerm',
'permlevel': 0,
'role': u'Production User',
'role': u'Manufacturing User',
'write': 1
},
@@ -94,14 +94,14 @@
{
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Production Manager'
'role': u'Manufacturing Manager'
},
# DocPerm
{
'doctype': u'DocPerm',
'permlevel': 1,
'role': u'Production User'
'role': u'Manufacturing User'
},
# DocField

View File

@@ -15,6 +15,6 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
pscript['onload_production-home'] = function(wrapper) {
wrapper.appframe = new wn.ui.AppFrame($(wrapper).find('.appframe-area'), 'Production');
erpnext.module_page.setup_page('Production', wrapper);
wrapper.appframe = new wn.ui.AppFrame($(wrapper).find('.appframe-area'), 'Manufacturing');
erpnext.module_page.setup_page('Manufacturing', wrapper);
}

View File

@@ -5,7 +5,7 @@
{
'creation': '2012-02-21 13:24:34',
'docstatus': 0,
'modified': '2012-02-21 13:24:34',
'modified': '2012-12-10 18:30:00',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
@@ -13,16 +13,16 @@
# These values are common for all Page
{
'doctype': 'Page',
'module': u'Production',
'module': u'Manufacturing',
'name': '__common__',
'page_name': u'production-home',
'page_name': u'manufacturing-home',
'standard': u'Yes',
'title': u'Production Home'
'title': u'Manufacturing Home'
},
# Page, production-home
{
'doctype': 'Page',
'name': u'production-home'
'name': u'manufacturing-home'
}
]

View File

@@ -5,7 +5,7 @@
{
'creation': '2012-04-03 12:49:50',
'docstatus': 0,
'modified': '2012-04-03 12:49:50',
'modified': '2012-12-10 18:30:00',
'modified_by': u'Administrator',
'owner': u'jai@webnotestech.com'
},
@@ -20,7 +20,7 @@
'doc_type': u'Stock Entry Detail',
'doctype': 'Search Criteria',
'filters': u"{'Stock Entry\x01Submitted':1,'Stock Entry\x01Purpose':'Production Order','Stock Entry\x01Process':''}",
'module': u'Production',
'module': u'Manufacturing',
'name': '__common__',
'page_len': 50,
'parent_doc_type': u'Stock Entry',

View File

@@ -5,7 +5,7 @@
{
'creation': '2012-04-03 12:49:51',
'docstatus': 0,
'modified': '2012-04-03 12:49:51',
'modified': '2012-12-10 18:30:00',
'modified_by': u'Administrator',
'owner': u'jai@webnotestech.com'
},
@@ -17,7 +17,7 @@
'doc_type': u'Stock Entry Detail',
'doctype': 'Search Criteria',
'filters': u"{'Stock Entry\x01Saved':1,'Stock Entry\x01Submitted':1,'Stock Entry\x01Purpose':'Production Order','Stock Entry\x01Process':'Backflush','Stock Entry Detail\x01FG Item':1}",
'module': u'Production',
'module': u'Manufacturing',
'name': '__common__',
'page_len': 50,
'parent_doc_type': u'Stock Entry',

View File

@@ -5,7 +5,7 @@
{
'creation': '2012-04-03 12:49:52',
'docstatus': 0,
'modified': '2012-04-03 12:49:52',
'modified': '2012-12-10 18:30:00',
'modified_by': u'Administrator',
'owner': u'jai@webnotestech.com'
},
@@ -18,7 +18,7 @@
'doc_type': u'Production Order',
'doctype': 'Search Criteria',
'filters': u"{'Production Order\x01Submitted':1,'Production Order\x01Origin':'','Production Order\x01Status':'','Production Order\x01Consider SA Items':'','Production Order\x01Fiscal Year':''}",
'module': u'Production',
'module': u'Manufacturing',
'name': '__common__',
'page_len': 50,
'sort_by': u'`tabProduction Order`.`name`',