diff --git a/patches/december_2012/production_cleanup.py b/patches/december_2012/production_cleanup.py new file mode 100644 index 0000000000..a4dd8f251f --- /dev/null +++ b/patches/december_2012/production_cleanup.py @@ -0,0 +1,5 @@ +def execute(): + import webnotes + from webnotes.model import delete_doc + delete_doc("DocType", "Production Control") + delete_doc("DocType", "BOM Control") \ No newline at end of file diff --git a/patches/patch_list.py b/patches/patch_list.py index 4f64dff8c8..da0d5354a1 100644 --- a/patches/patch_list.py +++ b/patches/patch_list.py @@ -729,4 +729,8 @@ patch_list = [ 'patch_module': 'patches.december_2012', 'patch_file': 'website_cache_refactor', }, + { + 'patch_module': 'patches.december_2012', + 'patch_file': 'production_cleanup', + }, ] \ No newline at end of file