[fix] module ordering
This commit is contained in:
parent
9bf2df9303
commit
1bf440b03a
@ -2,32 +2,50 @@ from __future__ import unicode_literals
|
||||
from frappe import _
|
||||
|
||||
def get_data():
|
||||
return {
|
||||
"Accounts": {
|
||||
return [
|
||||
{
|
||||
"module_name": "Accounts",
|
||||
"color": "#3498db",
|
||||
"icon": "octicon octicon-repo",
|
||||
"type": "module"
|
||||
},
|
||||
"Buying": {
|
||||
{
|
||||
"module_name": "CRM",
|
||||
"color": "#EF4DB6",
|
||||
"icon": "octicon octicon-broadcast",
|
||||
"type": "module"
|
||||
},
|
||||
{
|
||||
"module_name": "Selling",
|
||||
"color": "#1abc9c",
|
||||
"icon": "icon-tag",
|
||||
"icon": "octicon octicon-tag",
|
||||
"type": "module"
|
||||
},
|
||||
{
|
||||
"module_name": "Buying",
|
||||
"color": "#c0392b",
|
||||
"icon": "icon-shopping-cart",
|
||||
"icon": "octicon octicon-briefcase",
|
||||
"type": "module"
|
||||
},
|
||||
"HR": {
|
||||
{
|
||||
"module_name": "HR",
|
||||
"color": "#2ecc71",
|
||||
"icon": "icon-group",
|
||||
"icon": "octicon octicon-organization",
|
||||
"label": _("Human Resources"),
|
||||
"type": "module"
|
||||
},
|
||||
"Manufacturing": {
|
||||
{
|
||||
"module_name": "Manufacturing",
|
||||
"color": "#7f8c8d",
|
||||
"icon": "icon-cogs",
|
||||
"icon": "octicon octicon-tools",
|
||||
"type": "module"
|
||||
},
|
||||
"POS": {
|
||||
{
|
||||
"module_name": "POS",
|
||||
"color": "#589494",
|
||||
"icon": "icon-th",
|
||||
"icon": "octicon octicon-credit-card",
|
||||
@ -35,41 +53,33 @@ def get_data():
|
||||
"link": "pos",
|
||||
"label": _("POS")
|
||||
},
|
||||
"Projects": {
|
||||
{
|
||||
"module_name": "Projects",
|
||||
"color": "#8e44ad",
|
||||
"icon": "icon-puzzle-piece",
|
||||
"icon": "octicon octicon-rocket",
|
||||
"type": "module"
|
||||
},
|
||||
"Selling": {
|
||||
"color": "#1abc9c",
|
||||
"icon": "icon-tag",
|
||||
"icon": "octicon octicon-tag",
|
||||
"type": "module"
|
||||
},
|
||||
"CRM": {
|
||||
"color": "#EF4DB6",
|
||||
"icon": "octicon octicon-broadcast",
|
||||
"type": "module"
|
||||
},
|
||||
"Stock": {
|
||||
{
|
||||
"module_name": "Stock",
|
||||
"color": "#f39c12",
|
||||
"icon": "icon-truck",
|
||||
"icon": "octicon octicon-package",
|
||||
"type": "module"
|
||||
},
|
||||
"Support": {
|
||||
{
|
||||
"module_name": "Support",
|
||||
"color": "#2c3e50",
|
||||
"icon": "icon-phone",
|
||||
"icon": "octicon octicon-issue-opened",
|
||||
"type": "module"
|
||||
},
|
||||
"Learn": {
|
||||
{
|
||||
"module_name": "Learn",
|
||||
"color": "#FF888B",
|
||||
"force_show": True,
|
||||
"icon": "octicon octicon-device-camera-video",
|
||||
"type": "module",
|
||||
"is_help": True,
|
||||
"label": _("Learn")
|
||||
}
|
||||
}
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user