Rename learn to help

This commit is contained in:
Suraj Shetty 2018-12-21 11:04:32 +05:30
parent b0a84f014e
commit 89625b6eef
3 changed files with 14 additions and 2 deletions

View File

@ -149,12 +149,12 @@ def get_data():
"hidden": 1
},
{
"module_name": "Learn",
"module_name": "Help",
"color": "#FF888B",
"icon": "octicon octicon-device-camera-video",
"type": "module",
"is_help": True,
"label": _("Learn"),
"label": _("Help"),
"hidden": 1
},
{

View File

@ -0,0 +1,12 @@
import frappe
from frappe import _
def execute():
frappe.db.sql("""
UPDATE `tabDesktop Icon`
SET
`module_name`='Help', `label`=%s
WHERE
`module_name`='Learn' AND
`standard`=1
""", _('Help'))