fix(patch): Remove Package Publish Tool doctypes (#12113)
This commit is contained in:
parent
29ace38768
commit
bc9d6cff2e
2 changed files with 12 additions and 0 deletions
|
|
@ -317,3 +317,4 @@ frappe.patches.v13_0.web_template_set_module #2020-10-05
|
|||
frappe.patches.v13_0.remove_custom_link
|
||||
execute:frappe.delete_doc("DocType", "Footer Item")
|
||||
frappe.patches.v13_0.replace_field_target_with_open_in_new_tab
|
||||
frappe.patches.v13_0.delete_package_publish_tool
|
||||
|
|
|
|||
11
frappe/patches/v13_0/delete_package_publish_tool.py
Normal file
11
frappe/patches/v13_0/delete_package_publish_tool.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors
|
||||
# MIT License. See license.txt
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import frappe
|
||||
|
||||
|
||||
def execute():
|
||||
frappe.delete_doc("DocType", "Package Publish Tool", ignore_missing=True)
|
||||
frappe.delete_doc("DocType", "Package Document Type", ignore_missing=True)
|
||||
frappe.delete_doc("DocType", "Package Publish Target", ignore_missing=True)
|
||||
Loading…
Add table
Reference in a new issue