mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +00:00
removed old doctypes
This commit is contained in:
@@ -13,4 +13,5 @@ def execute():
|
||||
os.system("rm -rf app/hr/doctype/holiday_block_list")
|
||||
os.system("rm -rf app/hr/doctype/holiday_block_list_allow")
|
||||
os.system("rm -rf app/hr/doctype/holiday_block_list_date")
|
||||
|
||||
|
||||
10
patches/february_2013/p04_remove_old_doctypes.py
Normal file
10
patches/february_2013/p04_remove_old_doctypes.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import webnotes, os
|
||||
|
||||
def execute():
|
||||
webnotes.delete_doc("DocType", "Product")
|
||||
webnotes.delete_doc("DocType", "Test")
|
||||
webnotes.delete_doc("Module Def", "Test")
|
||||
|
||||
os.system("rm -rf app/test")
|
||||
os.system("rm -rf app/website/doctype/product")
|
||||
|
||||
@@ -174,4 +174,5 @@ patch_list = [
|
||||
"execute:webnotes.delete_doc('Page', 'Calendar')",
|
||||
"patches.february_2013.p02_email_digest",
|
||||
"patches.february_2013.p03_material_request",
|
||||
"patches.february_2013.p04_remove_old_doctypes",
|
||||
]
|
||||
Reference in New Issue
Block a user