mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 11:39:18 +00:00
fix: patch to delete Woocommerce Settings DocType
This commit is contained in:
@@ -340,5 +340,6 @@ erpnext.patches.v15_0.remove_exotel_integration
|
|||||||
erpnext.patches.v14_0.single_to_multi_dunning
|
erpnext.patches.v14_0.single_to_multi_dunning
|
||||||
execute:frappe.db.set_single_value('Selling Settings', 'allow_negative_rates_for_items', 0)
|
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.correct_asset_value_if_je_with_workflow
|
||||||
|
erpnext.patches.v15_0.delete_woocommerce_settings_doctype
|
||||||
# below migration patch should always run last
|
# below migration patch should always run last
|
||||||
erpnext.patches.v14_0.migrate_gl_to_payment_ledger
|
erpnext.patches.v14_0.migrate_gl_to_payment_ledger
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
import frappe
|
||||||
|
|
||||||
|
|
||||||
|
def execute():
|
||||||
|
frappe.delete_doc("DocType", "Woocommerce Settings", ignore_missing=True)
|
||||||
Reference in New Issue
Block a user