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

@@ -5,7 +5,7 @@
{
'creation': '2012-04-13 11:56:31',
'docstatus': 0,
'modified': '2012-06-07 18:41:50',
'modified': '2012-12-10 18:30:00',
'modified_by': u'Administrator',
'owner': u'Administrator'
},
@@ -274,7 +274,7 @@
'doctype': u'DocField',
'fieldname': u'production',
'fieldtype': u'Section Break',
'label': u'Production'
'label': u'Manufacturing'
},
# DocField

View File

@@ -237,7 +237,7 @@ class DocType:
self.add_roles(pr)
def add_roles(self, pr):
roles_list = ['Accounts Manager', 'Accounts User', 'Blogger', 'HR Manager', 'HR User', 'Maintenance User', 'Maintenance Manager', 'Material Manager', 'Material User', 'Material Master Manager', 'Production Manager', 'Production User', 'Projects User', 'Purchase Manager', 'Purchase User', 'Purchase Master Manager', 'Quality Manager', 'Sales Manager', 'Sales User', 'Sales Master Manager', 'Support Manager', 'Support Team', 'System Manager', 'Website Manager']
roles_list = ['Accounts Manager', 'Accounts User', 'Blogger', 'HR Manager', 'HR User', 'Maintenance User', 'Maintenance Manager', 'Material Manager', 'Material User', 'Material Master Manager', 'Manufacturing Manager', 'Manufacturing User', 'Projects User', 'Purchase Manager', 'Purchase User', 'Purchase Master Manager', 'Quality Manager', 'Sales Manager', 'Sales User', 'Sales Master Manager', 'Support Manager', 'Support Team', 'System Manager', 'Website Manager']
for r in roles_list:
d = addchild(pr, 'userroles', 'UserRole', 1)
d.role = r

View File

@@ -1,7 +1,7 @@
wn.require('lib/js/lib/jquery/jquery.ui.sortable.js');
$.extend(wn.pages.modules_setup, {
modules: ['Activity', 'Accounts', 'Selling', 'Buying', 'Stock', 'Production', 'Projects',
modules: ['Activity', 'Accounts', 'Selling', 'Buying', 'Stock', 'Manufacturing', 'Projects',
'Support', 'HR', 'Website', 'To Do', 'Messages', 'Calendar', 'Knowledge Base'],
onload: function(wrapper) {
wn.pages.modules_setup.refresh_page(wn.boot.modules_list);