fix: patch to delete Woocommerce Settings DocType

This commit is contained in:
s-aga-r 2023-09-13 12:02:27 +05:30
parent 328ba4b656
commit 74272a2e28
2 changed files with 6 additions and 0 deletions

View File

@ -340,5 +340,6 @@ erpnext.patches.v15_0.remove_exotel_integration
erpnext.patches.v14_0.single_to_multi_dunning
execute:frappe.db.set_single_value('Selling Settings', 'allow_negative_rates_for_items', 0)
erpnext.patches.v15_0.correct_asset_value_if_je_with_workflow
erpnext.patches.v15_0.delete_woocommerce_settings_doctype
# below migration patch should always run last
erpnext.patches.v14_0.migrate_gl_to_payment_ledger

View File

@ -0,0 +1,5 @@
import frappe
def execute():
frappe.delete_doc("DocType", "Woocommerce Settings", ignore_missing=True)