fix(patch): Use db_set to ignore validation

This commit is contained in:
Suraj Shetty 2021-02-01 22:40:40 +05:30
parent 44a055b52f
commit 852e67c5ee

View File

@ -4,5 +4,4 @@ from frappe import _
def execute(): def execute():
frappe.reload_doctype("System Settings") frappe.reload_doctype("System Settings")
settings = frappe.get_doc("System Settings") settings = frappe.get_doc("System Settings")
settings.app_name = _("ERPNext") settings.db_set("app_name", "ERPNext", commit=True)
settings.save()