I cannot change my custom app’s label.
The file i found is desktop_module_icon.html and the code in it is below:
{{ app_icon }}
<span class="case-label-text">{{ _label }} </span>
</div>
</div>
I just want to know from which file was the variables( _label, module_name) is taken?
Please let me know someone…
felix
2
@felix Thank you
I did that mentioned in the link.
But my App’s label is not changing!!!
Why? I cannot understand the reason!
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from frappe import _
def get_data():
return [
{
"module_name": "xxxxx",
"color": "#e400f4",
"icon": "icon-cogs",
"type": "module",
"label": _("xxxxx"),
}
]
felix
4
bench clear-cache
then
bench migrate
1 Like
Thanks @felix
Let me try bench migrate.
Thank you so much @felix
bench migrate worked!