brotherton-erpnext/erpnext/patches/v13_0/set_app_name.py
2020-09-30 16:33:14 +05:30

8 lines
201 B
Python

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