fix(patch): Use db_set to ignore validation
This commit is contained in:
parent
44a055b52f
commit
852e67c5ee
@ -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()
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user