Skip to content

Commit 74272a2

Browse files
committed
fix: patch to delete Woocommerce Settings DocType
1 parent 328ba4b commit 74272a2

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

erpnext/patches.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,5 +340,6 @@ erpnext.patches.v15_0.remove_exotel_integration
340340
erpnext.patches.v14_0.single_to_multi_dunning
341341
execute:frappe.db.set_single_value('Selling Settings', 'allow_negative_rates_for_items', 0)
342342
erpnext.patches.v15_0.correct_asset_value_if_je_with_workflow
343+
erpnext.patches.v15_0.delete_woocommerce_settings_doctype
343344
# below migration patch should always run last
344345
erpnext.patches.v14_0.migrate_gl_to_payment_ledger
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import frappe
2+
3+
4+
def execute():
5+
frappe.delete_doc("DocType", "Woocommerce Settings", ignore_missing=True)

0 commit comments

Comments
 (0)