mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-14 02:31:21 +00:00
rename Production --> Manufacturing and delete old patches
This commit is contained in:
@@ -265,7 +265,7 @@ class DocType:
|
||||
# module settings
|
||||
# -------------------------------------------------------------------------------------------------------
|
||||
def get_module_order(self):
|
||||
show_list = ['Home','Setup','Accounts','Selling','Buying','Support','Stock','HR','Projects','Analysis','Production']
|
||||
show_list = ['Home','Setup','Accounts','Selling','Buying','Support','Stock','HR','Projects','Analysis','Manufacturing']
|
||||
ml = filter(lambda x: x[0] in show_list, \
|
||||
sql("select name, module_label, module_seq, is_hidden from `tabModule Def` where docstatus<2 order by module_seq asc, module_label asc"))
|
||||
return webnotes.conn.convert_to_lists(ml)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
.sprite-hr{ background-position: 0 -439px; width: 40px; height: 32px; }
|
||||
.sprite-kb{ background-position: 0 -521px; width: 24px; height: 39px; }
|
||||
.sprite-messages{ background-position: 0 -610px; width: 40px; height: 26px; }
|
||||
.sprite-production{ background-position: 0 -686px; width: 40px; height: 33px; }
|
||||
.sprite-manufacturing{ background-position: 0 -686px; width: 40px; height: 33px; }
|
||||
.sprite-project{ background-position: 0 -769px; width: 40px; height: 22px; }
|
||||
.sprite-report{ background-position: 0 -841px; width: 29px; height: 40px; }
|
||||
.sprite-selling{ background-position: 0 -931px; width: 34px; height: 40px; }
|
||||
@@ -26,7 +26,7 @@
|
||||
.sprite-support{ margin-top: 8px; margin-left: 8px; }
|
||||
.sprite-hr{ margin-top: 12px; margin-left: 8px; }
|
||||
.sprite-project{ margin-top: 16px; margin-left: 8px; }
|
||||
.sprite-production{ margin-top: 10px; margin-left: 8px; }
|
||||
.sprite-manufacturing{ margin-top: 10px; margin-left: 8px; }
|
||||
.sprite-website{ margin-top: 8px; margin-left: 8px; }
|
||||
.sprite-setting{ margin-top: 8px; margin-left: 8px; }
|
||||
.sprite-report{ margin-top: 8px; margin-left: 14px; }
|
||||
|
||||
@@ -33,7 +33,7 @@ erpnext.desktop.render = function() {
|
||||
'Support': { sprite: 'support', label: 'Support'},
|
||||
'HR': { sprite: 'hr', label: 'Human<br />Resources'},
|
||||
'Projects': { sprite: 'project', label: 'Projects'},
|
||||
'Production': { sprite: 'production', label: 'Production'},
|
||||
'Manufacturing': { sprite: 'manufacturing', label: 'Manufacturing'},
|
||||
'Website': { sprite: 'website', label: 'Website'},
|
||||
'Activity': { sprite: 'feed', label: 'Activity'},
|
||||
'Setup': { sprite: 'setting', label: 'Setup'},
|
||||
|
||||
Reference in New Issue
Block a user