fix: undo changes to patch (#26983)
* fix: undo changes to patch
* ci: ignore empty body / head
diff --git a/.github/helper/documentation.py b/.github/helper/documentation.py
index b4a4ba1..91983d3 100644
--- a/.github/helper/documentation.py
+++ b/.github/helper/documentation.py
@@ -32,9 +32,9 @@
if response.ok:
payload = response.json()
- title = payload.get("title", "").lower().strip()
- head_sha = payload.get("head", {}).get("sha")
- body = payload.get("body", "").lower()
+ title = (payload.get("title") or "").lower().strip()
+ head_sha = (payload.get("head") or {}).get("sha")
+ body = (payload.get("body") or "").lower()
if (title.startswith("feat")
and head_sha
diff --git a/erpnext/patches/v13_0/shopify_deprecation_warning.py b/erpnext/patches/v13_0/shopify_deprecation_warning.py
index 8b0f193..6f199c8 100644
--- a/erpnext/patches/v13_0/shopify_deprecation_warning.py
+++ b/erpnext/patches/v13_0/shopify_deprecation_warning.py
@@ -4,10 +4,6 @@
def execute():
- frappe.reload_doc("erpnext_integrations", "doctype", "shopify_settings")
- if not frappe.db.get_single_value("Shopify Settings", "enable_shopify"):
- return
-
click.secho(
"Shopify Integration is moved to a separate app and will be removed from ERPNext in version-14.\n"
"Please install the app to continue using the integration: https://github.com/frappe/ecommerce_integrations",