From 45735b35c4ae274ea1b83333fff21bdf1c080be8 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 16 Mar 2021 12:22:31 +0530 Subject: [PATCH] fix(minor): login: set as Login to ERPNext --- erpnext/patches.txt | 1 + erpnext/setup/install.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/patches.txt b/erpnext/patches.txt index 59b12f319eb..7016ecdd969 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -759,3 +759,4 @@ erpnext.patches.v13_0.update_vehicle_no_reqd_condition erpnext.patches.v13_0.setup_fields_for_80g_certificate_and_donation erpnext.patches.v13_0.rename_membership_settings_to_non_profit_settings erpnext.patches.v13_0.setup_gratuity_rule_for_india_and_uae +execute:frappe.db.set_value('System Settings', None, 'app_name', 'ERPNext') diff --git a/erpnext/setup/install.py b/erpnext/setup/install.py index 0bb480bd4b6..1e424dd4b35 100644 --- a/erpnext/setup/install.py +++ b/erpnext/setup/install.py @@ -161,5 +161,4 @@ def add_standard_navbar_items(): navbar_settings.save() def add_app_name(): - settings = frappe.get_doc("System Settings") - settings.app_name = _("ERPNext") \ No newline at end of file + frappe.db.set_value('System Settings', None, 'app_name', 'ERPNext')