utilities module exported and company, rename tool txt updated
This commit is contained in:
parent
a42f54a602
commit
d4403c3ec8
@ -68,7 +68,7 @@ def rename_merge_modules():
|
||||
rename_lst = [['CRM', 'Selling'], ['SRM','Buying'], ['Material Management', 'Stock'], ['Payroll','HR'], ['Maintenance', 'Support']]
|
||||
for d in rename_lst:
|
||||
# create new module manually and export to file???????
|
||||
reload_doc(d[1], 'module_def', d[1])
|
||||
reload_doc(d[1].lower(), 'Module Def', d[1])
|
||||
|
||||
merge_lst = [['Tools', 'Utilities'], ['Application Internal', 'Utilities'], ['Settings', 'Setup']]
|
||||
# settings hardcoded in my_company
|
||||
@ -80,7 +80,7 @@ def rename_merge_modules():
|
||||
for d in lst:
|
||||
update_module(d[0], d[1])
|
||||
delete_doc('Module Def', d[0])
|
||||
|
||||
reload_doc('Utilities', 'Module Def', 'Utilities')
|
||||
|
||||
def update_module(from_mod, to_mod):
|
||||
for t in ['DocType', 'Page', 'Search Criteria', 'DocType Mapper', 'Print Format', 'Role']:
|
||||
|
File diff suppressed because it is too large
Load Diff
28
utilities/Module Def/Utilities/Utilities.txt
Normal file
28
utilities/Module Def/Utilities/Utilities.txt
Normal file
@ -0,0 +1,28 @@
|
||||
# Module Def, Utilities
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2011-07-01 17:46:25',
|
||||
'docstatus': 0,
|
||||
'modified': '2011-07-01 17:47:34',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'Administrator'
|
||||
},
|
||||
|
||||
# These values are common for all Module Def
|
||||
{
|
||||
'disabled': 'No',
|
||||
'doctype': 'Module Def',
|
||||
'is_hidden': 'No',
|
||||
'module_label': 'Utilities',
|
||||
'module_name': 'Utilities',
|
||||
'name': '__common__'
|
||||
},
|
||||
|
||||
# Module Def, Utilities
|
||||
{
|
||||
'doctype': 'Module Def',
|
||||
'name': 'Utilities'
|
||||
}
|
||||
]
|
@ -5,7 +5,7 @@
|
||||
{
|
||||
'creation': '2011-06-23 11:03:25',
|
||||
'docstatus': 0,
|
||||
'modified': '2011-06-23 11:03:25',
|
||||
'modified': '2011-07-01 17:46:42',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'Administrator'
|
||||
},
|
||||
@ -24,7 +24,7 @@
|
||||
'name': '__common__',
|
||||
'section_style': 'Simple',
|
||||
'show_in_menu': 0,
|
||||
'version': 6
|
||||
'version': 7
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
|
Loading…
x
Reference in New Issue
Block a user