Rename learn to help
This commit is contained in:
parent
b0a84f014e
commit
89625b6eef
@ -149,12 +149,12 @@ def get_data():
|
|||||||
"hidden": 1
|
"hidden": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"module_name": "Learn",
|
"module_name": "Help",
|
||||||
"color": "#FF888B",
|
"color": "#FF888B",
|
||||||
"icon": "octicon octicon-device-camera-video",
|
"icon": "octicon octicon-device-camera-video",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"is_help": True,
|
"is_help": True,
|
||||||
"label": _("Learn"),
|
"label": _("Help"),
|
||||||
"hidden": 1
|
"hidden": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
12
erpnext/patches/v11_0/rename_learn_to_help.py
Normal file
12
erpnext/patches/v11_0/rename_learn_to_help.py
Normal 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'))
|
||||||
Loading…
x
Reference in New Issue
Block a user