brotherton-erpnext/erpnext/patches/v13_0/set_app_name.py

8 lines
201 B
Python
Raw Normal View History

import frappe
from frappe import _
def execute():
frappe.reload_doctype("System Settings")
settings = frappe.get_doc("System Settings")
settings.app_name = _("ERPNext")
settings.save()