2017-10-17 07:00:34 +00:00
|
|
|
# coding=utf-8
|
|
|
|
|
2015-02-24 06:54:53 +00:00
|
|
|
from __future__ import unicode_literals
|
2014-02-14 10:17:51 +00:00
|
|
|
from frappe import _
|
2014-02-07 12:42:43 +00:00
|
|
|
|
2014-05-16 14:26:06 +00:00
|
|
|
def get_data():
|
2016-01-14 12:44:50 +00:00
|
|
|
return [
|
2016-04-13 11:51:57 +00:00
|
|
|
{
|
|
|
|
"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 13:15:46 +00:00
|
|
|
{
|
2016-09-15 09:45:45 +00:00
|
|
|
"module_name": "Profit and Loss Statement",
|
2016-04-20 13:15:46 +00:00
|
|
|
"_doctype": "Account",
|
|
|
|
"color": "#3498db",
|
|
|
|
"icon": "octicon octicon-repo",
|
|
|
|
"type": "link",
|
|
|
|
"link": "query-report/Profit and Loss Statement"
|
|
|
|
},
|
2016-04-13 11:51:57 +00:00
|
|
|
|
|
|
|
# old
|
2016-01-14 12:44:50 +00:00
|
|
|
{
|
|
|
|
"module_name": "Accounts",
|
2014-05-16 14:26:06 +00:00
|
|
|
"color": "#3498db",
|
2014-12-31 09:12:23 +00:00
|
|
|
"icon": "octicon octicon-repo",
|
2016-04-13 11:51:57 +00:00
|
|
|
"type": "module",
|
|
|
|
"hidden": 1
|
2014-05-16 14:26:06 +00:00
|
|
|
},
|
2016-03-08 12:36:21 +00:00
|
|
|
{
|
|
|
|
"module_name": "Stock",
|
|
|
|
"color": "#f39c12",
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-truck",
|
2016-03-08 12:36:21 +00:00
|
|
|
"icon": "octicon octicon-package",
|
2016-04-13 11:51:57 +00:00
|
|
|
"type": "module",
|
|
|
|
"hidden": 1
|
2016-03-08 12:36:21 +00:00
|
|
|
},
|
2016-01-14 12:44:50 +00:00
|
|
|
{
|
|
|
|
"module_name": "CRM",
|
|
|
|
"color": "#EF4DB6",
|
|
|
|
"icon": "octicon octicon-broadcast",
|
2016-04-13 11:51:57 +00:00
|
|
|
"type": "module",
|
|
|
|
"hidden": 1
|
2016-01-14 12:44:50 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"module_name": "Selling",
|
|
|
|
"color": "#1abc9c",
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-tag",
|
2016-01-14 12:44:50 +00:00
|
|
|
"icon": "octicon octicon-tag",
|
2016-04-13 11:51:57 +00:00
|
|
|
"type": "module",
|
|
|
|
"hidden": 1
|
2016-01-14 12:44:50 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"module_name": "Buying",
|
2014-05-16 14:26:06 +00:00
|
|
|
"color": "#c0392b",
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-shopping-cart",
|
2014-12-31 09:12:23 +00:00
|
|
|
"icon": "octicon octicon-briefcase",
|
2016-04-13 11:51:57 +00:00
|
|
|
"type": "module",
|
|
|
|
"hidden": 1
|
2014-05-16 14:26:06 +00:00
|
|
|
},
|
2016-01-14 12:44:50 +00:00
|
|
|
{
|
|
|
|
"module_name": "HR",
|
2014-05-16 14:26:06 +00:00
|
|
|
"color": "#2ecc71",
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-group",
|
2014-12-31 09:12:23 +00:00
|
|
|
"icon": "octicon octicon-organization",
|
2014-05-16 14:26:06 +00:00
|
|
|
"label": _("Human Resources"),
|
2016-04-13 11:51:57 +00:00
|
|
|
"type": "module",
|
|
|
|
"hidden": 1
|
2014-05-16 14:26:06 +00:00
|
|
|
},
|
2016-01-14 12:44:50 +00:00
|
|
|
{
|
|
|
|
"module_name": "Manufacturing",
|
2014-05-16 14:26:06 +00:00
|
|
|
"color": "#7f8c8d",
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-cogs",
|
2015-01-02 09:10:48 +00:00
|
|
|
"icon": "octicon octicon-tools",
|
2016-04-13 11:51:57 +00:00
|
|
|
"type": "module",
|
|
|
|
"hidden": 1
|
2014-05-16 14:26:06 +00:00
|
|
|
},
|
2016-01-14 12:44:50 +00:00
|
|
|
{
|
|
|
|
"module_name": "POS",
|
2014-08-08 10:00:49 +00:00
|
|
|
"color": "#589494",
|
2014-12-31 09:12:23 +00:00
|
|
|
"icon": "octicon octicon-credit-card",
|
2014-08-08 10:00:49 +00:00
|
|
|
"type": "page",
|
2016-01-04 10:18:37 +00:00
|
|
|
"link": "pos",
|
2016-05-11 09:34:57 +00:00
|
|
|
"label": _("POS")
|
2014-08-08 10:00:49 +00:00
|
|
|
},
|
2016-01-14 12:44:50 +00:00
|
|
|
{
|
|
|
|
"module_name": "Projects",
|
2014-05-16 14:26:06 +00:00
|
|
|
"color": "#8e44ad",
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-puzzle-piece",
|
2014-12-31 09:12:23 +00:00
|
|
|
"icon": "octicon octicon-rocket",
|
2016-04-13 11:51:57 +00:00
|
|
|
"type": "module",
|
|
|
|
"hidden": 1
|
2014-05-16 14:26:06 +00:00
|
|
|
},
|
2016-01-14 12:44:50 +00:00
|
|
|
{
|
|
|
|
"module_name": "Support",
|
2014-05-16 14:26:06 +00:00
|
|
|
"color": "#2c3e50",
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-phone",
|
2014-12-31 09:12:23 +00:00
|
|
|
"icon": "octicon octicon-issue-opened",
|
2016-04-13 11:51:57 +00:00
|
|
|
"type": "module",
|
|
|
|
"hidden": 1
|
2015-05-25 13:00:53 +00:00
|
|
|
},
|
2016-01-14 12:44:50 +00:00
|
|
|
{
|
|
|
|
"module_name": "Learn",
|
2015-11-02 05:15:18 +00:00
|
|
|
"color": "#FF888B",
|
|
|
|
"icon": "octicon octicon-device-camera-video",
|
2015-05-25 13:00:53 +00:00
|
|
|
"type": "module",
|
2016-01-04 10:18:37 +00:00
|
|
|
"is_help": True,
|
2016-04-13 11:51:57 +00:00
|
|
|
"label": _("Learn"),
|
|
|
|
"hidden": 1
|
2016-06-29 09:34:08 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"module_name": "Maintenance",
|
|
|
|
"color": "#FF888B",
|
|
|
|
"icon": "octicon octicon-tools",
|
|
|
|
"type": "module",
|
|
|
|
"label": _("Maintenance")
|
2016-07-21 10:31:59 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"module_name": "Student",
|
|
|
|
"color": "#c0392b",
|
|
|
|
"icon": "octicon octicon-person",
|
|
|
|
"label": _("Student"),
|
|
|
|
"link": "List/Student",
|
2016-07-22 05:28:56 +00:00
|
|
|
"_doctype": "Student",
|
2016-07-21 10:31:59 +00:00
|
|
|
"type": "list"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"module_name": "Student Group",
|
|
|
|
"color": "#d59919",
|
|
|
|
"icon": "octicon octicon-organization",
|
|
|
|
"label": _("Student Group"),
|
|
|
|
"link": "List/Student Group",
|
2016-07-22 05:28:56 +00:00
|
|
|
"_doctype": "Student Group",
|
2016-07-21 10:31:59 +00:00
|
|
|
"type": "list"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"module_name": "Course Schedule",
|
|
|
|
"color": "#fd784f",
|
|
|
|
"icon": "octicon octicon-calendar",
|
|
|
|
"label": _("Course Schedule"),
|
|
|
|
"link": "Calendar/Course Schedule",
|
2016-07-22 05:28:56 +00:00
|
|
|
"_doctype": "Course Schedule",
|
2016-07-21 10:31:59 +00:00
|
|
|
"type": "list"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"module_name": "Student Attendance",
|
|
|
|
"color": "#3aacba",
|
|
|
|
"icon": "octicon octicon-checklist",
|
|
|
|
"label": _("Student Attendance"),
|
|
|
|
"link": "List/Student Attendance",
|
2016-07-22 05:28:56 +00:00
|
|
|
"_doctype": "Student Attendance",
|
2016-07-21 10:31:59 +00:00
|
|
|
"type": "list"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"module_name": "Course",
|
|
|
|
"color": "#8e44ad",
|
|
|
|
"icon": "octicon octicon-book",
|
|
|
|
"label": _("Course"),
|
|
|
|
"link": "List/Course",
|
2016-07-22 05:28:56 +00:00
|
|
|
"_doctype": "Course",
|
2016-07-21 10:31:59 +00:00
|
|
|
"type": "list"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"module_name": "Program",
|
|
|
|
"color": "#9b59b6",
|
|
|
|
"icon": "octicon octicon-repo",
|
|
|
|
"label": _("Program"),
|
|
|
|
"link": "List/Program",
|
2016-07-22 05:28:56 +00:00
|
|
|
"_doctype": "Program",
|
2016-07-21 10:31:59 +00:00
|
|
|
"type": "list"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"module_name": "Student Applicant",
|
|
|
|
"color": "#4d927f",
|
|
|
|
"icon": "octicon octicon-clippy",
|
|
|
|
"label": _("Student Applicant"),
|
|
|
|
"link": "List/Student Applicant",
|
2016-07-22 05:28:56 +00:00
|
|
|
"_doctype": "Student Applicant",
|
2016-07-21 10:31:59 +00:00
|
|
|
"type": "list"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"module_name": "Fees",
|
|
|
|
"color": "#83C21E",
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-money",
|
2016-07-21 10:31:59 +00:00
|
|
|
"label": _("Fees"),
|
|
|
|
"link": "List/Fees",
|
2016-07-22 05:28:56 +00:00
|
|
|
"_doctype": "Fees",
|
2016-07-21 10:31:59 +00:00
|
|
|
"type": "list"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"module_name": "Instructor",
|
|
|
|
"color": "#a99e4c",
|
|
|
|
"icon": "octicon octicon-broadcast",
|
|
|
|
"label": _("Instructor"),
|
|
|
|
"link": "List/Instructor",
|
2016-07-22 05:28:56 +00:00
|
|
|
"_doctype": "Instructor",
|
2016-07-21 10:31:59 +00:00
|
|
|
"type": "list"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"module_name": "Room",
|
|
|
|
"color": "#f22683",
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-map-marker",
|
2016-07-21 10:31:59 +00:00
|
|
|
"label": _("Room"),
|
|
|
|
"link": "List/Room",
|
2016-08-01 18:15:33 +00:00
|
|
|
"_doctype": "Room",
|
2016-07-21 10:31:59 +00:00
|
|
|
"type": "list"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"module_name": "Schools",
|
|
|
|
"color": "#DE2B37",
|
|
|
|
"icon": "octicon octicon-mortar-board",
|
|
|
|
"type": "module",
|
|
|
|
"label": _("Schools")
|
2017-09-13 07:22:30 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"module_name": "Healthcare",
|
|
|
|
"color": "#FF888B",
|
|
|
|
"icon": "octicon octicon-plus",
|
|
|
|
"type": "module",
|
Hub (#10934)
* [WIP]Hub
* [listing] Show items, users and item_groups
* Show filters
* [start] cart, api for rfq and opp
* rfq working
* [wip] keys
* wip quotes
* [hub] register/unregister
* [hub] rename password to access_token, remove passed company field
* [hub] publishing cases, api call wrapper
* [hub] add and remove fields working
* [hub] fix flags, update on client save working
* [hub] new hub page, client item CUD at hub working
* listing, standard rate, local site hack
* item listing, item page, search, back to home
* [hub] implement hub company
* [hub] company filter
* [hub] basic rfq-ing, item page cleanup
* categories wip
* [hub] use get_doc_before_save()
* [hub] send opportunity message to hub, api to make locally
* [hub] enqueueing in hub api request wrapper
* cleanup
* [hub] refactor shopping cart's product.py to reuse
* sync dynamic item fields daily
* Scheduler heartbeat check
* [wip] hub categories
* [hub] wip enqueued callbacks
* [hub] outgoing messages, fixing callback loop
* [hub] bug: callback save after primary save
* [hub] pricing, stock, currency
* [hub] replace send_hub_request with make_and_enqueue
* add hub.less, refactor code
* Remove template html files, add styling for hub item cards
* fix paging
* add breadcrumb
* Add sidebar
* [hub] add company page, change country
* [hub] order_by filters
* [hub] make hub category a tree
* [hub] enqueue batched item enqueueing
* [hub] requested products page
* [minor]
* update hub url
* [fix] url
* [fix] more reform
* fix recursion
* [hub] data migration plans as jsons
* Hub register, create data connector, sync with run
* [add] user registration by session user
* Removed hub_message
* Remove sync code from hub_settings
* Remove hub methods from item.py
* Update Hub Sync plan
* Hub unregister
* Update Hub connector on reregister
* Dont delete Hub Connector on unregister
* Enable hub on success response
* Add new hub whitelisted methods
* [hub] list working
* Hub register from hub page
* [hub] Add hub logo in desk icon, link to page
* [hub] hide page head on empty state
* [hub] make rfq
* [hub] push opportunity doc, poll for opportunity docs
* add fields to item mapping
* update hub mappings
* Make RFQ
* [hub] item, home routing
* Make rfq and send opportunity refactor
* [hub][fix] remote lead data
* images passed as base64
* set default company on register
* Revert "images passed as base64"
This reverts commit 0b033a5fb7072b2d39a1b87a47dc41e7af707bb4.
* Add sync to hub page
* Prompt for publish items to hub
* add post process to hub document to lead
* Rename Hub document to Hub message, create opportunity in post process
2017-10-05 05:47:30 +00:00
|
|
|
"label": _("Healthcare"),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"module_name": "Hub",
|
|
|
|
"color": "#009248",
|
|
|
|
"icon": "/assets/erpnext/images/hub_logo.svg",
|
|
|
|
"type": "page",
|
|
|
|
"link": "hub",
|
|
|
|
"label": _("Hub")
|
2017-09-29 09:47:48 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"module_name": "Data Import Tool",
|
|
|
|
"color": "#7f8c8d",
|
|
|
|
"icon": "octicon octicon-circuit-board",
|
|
|
|
"type": "page",
|
|
|
|
"link": "data-import-tool",
|
|
|
|
"label": _("Data Import Tool")
|
|
|
|
},
|
2017-10-17 07:00:34 +00:00
|
|
|
{
|
|
|
|
"module_name": "Restaurant",
|
|
|
|
"color": "#EA81E8",
|
|
|
|
"icon": "🍔",
|
|
|
|
"_doctype": "Restaurant",
|
|
|
|
"link": "List/Restaurant",
|
|
|
|
"label": _("Restaurant")
|
|
|
|
}
|
2016-01-14 12:44:50 +00:00
|
|
|
]
|