fix(patch): Use db_set to ignore validation
diff --git a/erpnext/patches/v13_0/set_app_name.py b/erpnext/patches/v13_0/set_app_name.py
index 0c78b65..3f886f1 100644
--- a/erpnext/patches/v13_0/set_app_name.py
+++ b/erpnext/patches/v13_0/set_app_name.py
@@ -2,7 +2,6 @@
from frappe import _
def execute():
- frappe.reload_doctype("System Settings")
- settings = frappe.get_doc("System Settings")
- settings.app_name = _("ERPNext")
- settings.save()
\ No newline at end of file
+ frappe.reload_doctype("System Settings")
+ settings = frappe.get_doc("System Settings")
+ settings.db_set("app_name", "ERPNext", commit=True)