Merge branch 'production' of github.com:webnotes/erpnext into production

This commit is contained in:
Nabin Hait
2012-12-11 15:15:04 +05:30

View File

@@ -11,9 +11,16 @@ def delete_doctypes():
delete_doc("DocType", "BOM Control")
def rename_module():
webnotes.reload_doc("core", "doctype", "role")
webnotes.reload_doc("core", "doctype", "page")
webnotes.reload_doc("core", "doctype", "module_def")
webnotes.rename_doc("Role", "Production User", "Manufacturing User")
webnotes.rename_doc("Role", "Production Manager", "Manufacturing Manager")
if webnotes.conn.exists("Page", "manufacturing-home"):
webnotes.delete_doc("Page", "production-home")
else:
webnotes.rename_doc("Page", "production-home", "manufacturing-home")
webnotes.rename_doc("Module Def", "Production", "Manufacturing")