mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +00:00
fix(patch): Use db_set to ignore validation
This commit is contained in:
@@ -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()
|
|
||||||
|
|||||||
Reference in New Issue
Block a user