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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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)