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

8 lines
192 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.db_set("app_name", "ERPNext", commit=True)