Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(patch): delete stale shopify doctypes #27313

Merged
merged 1 commit into from
Sep 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion erpnext/patches.txt
Original file line number Diff line number Diff line change
Expand Up @@ -301,4 +301,5 @@ erpnext.patches.v13_0.einvoicing_deprecation_warning
erpnext.patches.v13_0.custom_fields_for_taxjar_integration
erpnext.patches.v14_0.delete_einvoicing_doctypes
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 changes: 5 additions & 0 deletions erpnext/patches/v14_0/delete_shopify_doctypes.py
Original file line number Diff line number Diff line change
@@ -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)