Anand Doshi | d57e793 | 2015-02-24 12:24:53 +0530 | [diff] [blame] | 1 | from __future__ import unicode_literals |
Anand Doshi | f5794f1 | 2014-03-03 15:05:28 +0530 | [diff] [blame] | 2 | from frappe import _ |
| 3 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 4 | def get_data(): |
| 5 | return [ |
| 6 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 7 | "label": _("Projects"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 8 | "icon": "fa fa-star", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 9 | "items": [ |
| 10 | { |
| 11 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 12 | "name": "Project", |
| 13 | "description": _("Project master."), |
| 14 | }, |
| 15 | { |
| 16 | "type": "doctype", |
renzodemie | 417dfed | 2018-03-20 14:28:15 +0800 | [diff] [blame] | 17 | "name": "Project Update", |
| 18 | "description": _("Project Update."), |
| 19 | }, |
| 20 | { |
| 21 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 22 | "name": "Task", |
Rushabh Mehta | 82fa04c | 2018-01-31 22:20:14 +0530 | [diff] [blame] | 23 | "route": "List/Task", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 24 | "description": _("Project activity / task."), |
| 25 | }, |
| 26 | { |
KanchanChauhan | 7800bd8 | 2017-07-26 17:55:25 +0530 | [diff] [blame] | 27 | "type": "doctype", |
| 28 | "name": "Project Type", |
| 29 | "description": _("Define Project type."), |
| 30 | }, |
| 31 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 32 | "type": "report", |
Faris Ansari | a0608d4 | 2016-10-10 14:32:35 +0530 | [diff] [blame] | 33 | "route": "List/Task/Gantt", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 34 | "doctype": "Task", |
| 35 | "name": "Gantt Chart", |
| 36 | "description": _("Gantt chart of all tasks.") |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 37 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 38 | ] |
| 39 | }, |
| 40 | { |
| 41 | "label": _("Time Tracking"), |
| 42 | "items": [ |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 43 | { |
| 44 | "type": "doctype", |
Rohit Waghchaure | e94d18b | 2016-07-06 20:12:58 +0530 | [diff] [blame] | 45 | "name": "Timesheet", |
| 46 | "description": _("Timesheet for tasks."), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 47 | }, |
| 48 | { |
| 49 | "type": "doctype", |
| 50 | "name": "Activity Type", |
Rohit Waghchaure | e94d18b | 2016-07-06 20:12:58 +0530 | [diff] [blame] | 51 | "description": _("Types of activities for Time Logs"), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 52 | }, |
Neil Trini Lasrado | 458b888 | 2015-03-24 12:49:45 +0530 | [diff] [blame] | 53 | { |
| 54 | "type": "doctype", |
| 55 | "name": "Activity Cost", |
| 56 | "description": _("Cost of various activities"), |
| 57 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 58 | ] |
| 59 | }, |
| 60 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 61 | "label": _("Reports"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 62 | "icon": "fa fa-list", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 63 | "items": [ |
| 64 | { |
| 65 | "type": "report", |
| 66 | "is_query_report": True, |
Rohit Waghchaure | e94d18b | 2016-07-06 20:12:58 +0530 | [diff] [blame] | 67 | "name": "Daily Timesheet Summary", |
| 68 | "doctype": "Timesheet" |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 69 | }, |
| 70 | { |
| 71 | "type": "report", |
| 72 | "is_query_report": True, |
| 73 | "name": "Project wise Stock Tracking", |
| 74 | "doctype": "Project" |
| 75 | }, |
| 76 | ] |
| 77 | }, |
Sambhaji Kolate | fd53991 | 2015-10-27 17:01:27 +0530 | [diff] [blame] | 78 | { |
| 79 | "label": _("Help"), |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 80 | "icon": "fa fa-facetime-video", |
Sambhaji Kolate | fd53991 | 2015-10-27 17:01:27 +0530 | [diff] [blame] | 81 | "items": [ |
| 82 | { |
| 83 | "type": "help", |
| 84 | "label": _("Managing Projects"), |
| 85 | "youtube_id": "egxIGwtoKI4" |
| 86 | }, |
| 87 | ] |
| 88 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 89 | ] |