feat: set app name for ERPNext in install and patch
This commit is contained in:
@@ -28,6 +28,7 @@ def after_install():
|
||||
create_default_energy_point_rules()
|
||||
add_company_to_session_defaults()
|
||||
add_standard_navbar_items()
|
||||
add_app_name()
|
||||
frappe.db.commit()
|
||||
|
||||
|
||||
@@ -158,3 +159,7 @@ def add_standard_navbar_items():
|
||||
})
|
||||
|
||||
navbar_settings.save()
|
||||
|
||||
def add_app_name():
|
||||
settings = frappe.get_doc("System Settings")
|
||||
settings.app_name = _("ERPNext")
|
||||
Reference in New Issue
Block a user