brotherton-erpnext/erpnext/patches/v13_0/set_app_name.py
2021-02-01 22:40:40 +05:30

8 lines
192 B
Python

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)