Browse Source

fix(patch): delete stale shopify doctypes (#27313)

develop
Ankush Menat 3 years ago
committed by GitHub
parent
commit
b25d28e023
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      erpnext/patches.txt
  2. 5
      erpnext/patches/v14_0/delete_shopify_doctypes.py

1
erpnext/patches.txt

@ -302,3 +302,4 @@ erpnext.patches.v13_0.custom_fields_for_taxjar_integration
erpnext.patches.v14_0.delete_einvoicing_doctypes erpnext.patches.v14_0.delete_einvoicing_doctypes
erpnext.patches.v13_0.set_operation_time_based_on_operating_cost erpnext.patches.v13_0.set_operation_time_based_on_operating_cost
erpnext.patches.v13_0.validate_options_for_data_field erpnext.patches.v13_0.validate_options_for_data_field
erpnext.patches.v14_0.delete_shopify_doctypes

5
erpnext/patches/v14_0/delete_shopify_doctypes.py

@ -0,0 +1,5 @@
import frappe
def execute():
frappe.delete_doc("DocType", "Shopify Settings", ignore_missing=True)
frappe.delete_doc("DocType", "Shopify Log", ignore_missing=True)
Loading…
Cancel
Save