275 lines
5.7 KiB
Python
Raw Normal View History

from __future__ import unicode_literals
2014-02-14 15:47:51 +05:30
from frappe import _
2014-02-07 18:12:43 +05:30
def get_data():
2016-01-14 18:14:50 +05:30
return [
{
"module_name": "Item",
"_doctype": "Item",
"color": "#f39c12",
"icon": "octicon octicon-package",
"type": "link",
"link": "List/Item"
},
{
"module_name": "Customer",
"_doctype": "Customer",
"color": "#1abc9c",
"icon": "octicon octicon-tag",
"type": "link",
"link": "List/Customer"
},
{
"module_name": "Supplier",
"_doctype": "Supplier",
"color": "#c0392b",
"icon": "octicon octicon-briefcase",
"type": "link",
"link": "List/Supplier"
},
{
"_doctype": "Employee",
"module_name": "Employee",
"color": "#2ecc71",
"icon": "octicon octicon-organization",
"type": "link",
"link": "List/Employee"
},
{
"module_name": "Project",
"_doctype": "Project",
"color": "#8e44ad",
"icon": "octicon octicon-rocket",
"type": "link",
"link": "List/Project"
},
{
"module_name": "Issue",
"color": "#2c3e50",
"icon": "octicon octicon-issue-opened",
"_doctype": "Issue",
"type": "link",
"link": "List/Issue"
},
{
"module_name": "Lead",
"icon": "octicon octicon-broadcast",
"type": "module",
"_doctype": "Lead",
"type": "link",
"link": "List/Lead"
},
2016-04-20 18:45:46 +05:30
{
"module_name": "Profit and Loss Statment",
"_doctype": "Account",
"color": "#3498db",
"icon": "octicon octicon-repo",
"type": "link",
"link": "query-report/Profit and Loss Statement"
},
# old
2016-01-14 18:14:50 +05:30
{
"module_name": "Accounts",
"color": "#3498db",
2014-12-31 14:42:23 +05:30
"icon": "octicon octicon-repo",
"type": "module",
"hidden": 1
},
2016-03-08 18:06:21 +05:30
{
"module_name": "Stock",
"color": "#f39c12",
"icon": "icon-truck",
"icon": "octicon octicon-package",
"type": "module",
"hidden": 1
2016-03-08 18:06:21 +05:30
},
2016-01-14 18:14:50 +05:30
{
"module_name": "CRM",
"color": "#EF4DB6",
"icon": "octicon octicon-broadcast",
"type": "module",
"hidden": 1
2016-01-14 18:14:50 +05:30
},
{
"module_name": "Selling",
"color": "#1abc9c",
"icon": "icon-tag",
"icon": "octicon octicon-tag",
"type": "module",
"hidden": 1
2016-01-14 18:14:50 +05:30
},
{
"module_name": "Buying",
"color": "#c0392b",
"icon": "icon-shopping-cart",
2014-12-31 14:42:23 +05:30
"icon": "octicon octicon-briefcase",
"type": "module",
"hidden": 1
},
2016-01-14 18:14:50 +05:30
{
"module_name": "HR",
"color": "#2ecc71",
"icon": "icon-group",
2014-12-31 14:42:23 +05:30
"icon": "octicon octicon-organization",
"label": _("Human Resources"),
"type": "module",
"hidden": 1
},
2016-01-14 18:14:50 +05:30
{
"module_name": "Manufacturing",
"color": "#7f8c8d",
"icon": "icon-cogs",
2015-01-02 14:40:48 +05:30
"icon": "octicon octicon-tools",
"type": "module",
"hidden": 1
},
2016-01-14 18:14:50 +05:30
{
"module_name": "POS",
2014-08-08 15:30:49 +05:30
"color": "#589494",
"icon": "icon-th",
2014-12-31 14:42:23 +05:30
"icon": "octicon octicon-credit-card",
2014-08-08 15:30:49 +05:30
"type": "page",
2016-01-04 15:48:37 +05:30
"link": "pos",
2016-05-11 15:04:57 +05:30
"label": _("POS")
2014-08-08 15:30:49 +05:30
},
2016-01-14 18:14:50 +05:30
{
"module_name": "Projects",
"color": "#8e44ad",
"icon": "icon-puzzle-piece",
2014-12-31 14:42:23 +05:30
"icon": "octicon octicon-rocket",
"type": "module",
"hidden": 1
},
2016-01-14 18:14:50 +05:30
{
"module_name": "Support",
"color": "#2c3e50",
"icon": "icon-phone",
2014-12-31 14:42:23 +05:30
"icon": "octicon octicon-issue-opened",
"type": "module",
"hidden": 1
},
2016-01-14 18:14:50 +05:30
{
"module_name": "Learn",
"color": "#FF888B",
"icon": "octicon octicon-device-camera-video",
"type": "module",
2016-01-04 15:48:37 +05:30
"is_help": True,
"label": _("Learn"),
"hidden": 1
2016-06-29 15:04:08 +05:30
},
{
"module_name": "Maintenance",
"color": "#FF888B",
"icon": "octicon octicon-tools",
"type": "module",
"label": _("Maintenance")
},
{
"module_name": "Student",
"color": "#c0392b",
"icon": "octicon octicon-person",
"label": _("Student"),
"link": "List/Student",
"doctype": "Student",
"type": "list"
},
{
"module_name": "Student Group",
"color": "#d59919",
"icon": "octicon octicon-organization",
"label": _("Student Group"),
"link": "List/Student Group",
"doctype": "Student Group",
"type": "list"
},
{
"module_name": "Course Schedule",
"color": "#fd784f",
"icon": "octicon octicon-calendar",
"label": _("Course Schedule"),
"link": "Calendar/Course Schedule",
"doctype": "Course Schedule",
"type": "list"
},
{
"module_name": "Student Attendance",
"color": "#3aacba",
"icon": "octicon octicon-checklist",
"label": _("Student Attendance"),
"link": "List/Student Attendance",
"doctype": "Student Attendance",
"type": "list"
},
{
"module_name": "Course",
"color": "#8e44ad",
"icon": "octicon octicon-book",
"label": _("Course"),
"link": "List/Course",
"doctype": "Course",
"type": "list"
},
{
"module_name": "Program",
"color": "#9b59b6",
"icon": "octicon octicon-repo",
"label": _("Program"),
"link": "List/Program",
"doctype": "Program",
"type": "list"
},
{
"module_name": "Student Applicant",
"color": "#4d927f",
"icon": "octicon octicon-clippy",
"label": _("Student Applicant"),
"link": "List/Student Applicant",
"doctype": "Student Applicant",
"type": "list"
},
{
"module_name": "Examination",
"color": "#8a70be",
"icon": "icon-file-text-alt",
"label": _("Examination"),
"link": "List/Examination",
"doctype": "Examination",
"type": "list"
},
{
"module_name": "Fees",
"color": "#83C21E",
"icon": "icon-money",
"label": _("Fees"),
"link": "List/Fees",
"doctype": "Fees",
"type": "list"
},
{
"module_name": "Instructor",
"color": "#a99e4c",
"icon": "octicon octicon-broadcast",
"label": _("Instructor"),
"link": "List/Instructor",
"doctype": "Instructor",
"type": "list"
},
{
"module_name": "Room",
"color": "#f22683",
"icon": "icon-map-marker",
"label": _("Room"),
"link": "List/Room",
"doctype": "Examination",
"type": "list"
},
{
"module_name": "Schools",
"color": "#DE2B37",
"icon": "octicon octicon-mortar-board",
"type": "module",
"label": _("Schools")
}
2016-01-14 18:14:50 +05:30
]