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 | { |
| 7 | "label": _("Documents"), |
| 8 | "icon": "icon-star", |
| 9 | "items": [ |
| 10 | { |
| 11 | "type": "doctype", |
| 12 | "name": "Task", |
| 13 | "description": _("Project activity / task."), |
| 14 | }, |
| 15 | { |
| 16 | "type": "doctype", |
| 17 | "name": "Project", |
| 18 | "description": _("Project master."), |
| 19 | }, |
| 20 | { |
| 21 | "type": "doctype", |
| 22 | "name": "Time Log", |
| 23 | "description": _("Time Log for tasks."), |
| 24 | }, |
| 25 | { |
| 26 | "type": "doctype", |
| 27 | "name": "Time Log Batch", |
| 28 | "description": _("Batch Time Logs for billing."), |
| 29 | }, |
| 30 | { |
| 31 | "type": "doctype", |
| 32 | "name": "Activity Type", |
| 33 | "description": _("Types of activities for Time Sheets"), |
| 34 | }, |
Neil Trini Lasrado | 458b888 | 2015-03-24 12:49:45 +0530 | [diff] [blame] | 35 | { |
| 36 | "type": "doctype", |
| 37 | "name": "Activity Cost", |
| 38 | "description": _("Cost of various activities"), |
| 39 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 40 | ] |
| 41 | }, |
| 42 | { |
| 43 | "label": _("Tools"), |
| 44 | "icon": "icon-wrench", |
| 45 | "items": [ |
| 46 | { |
| 47 | "type": "report", |
| 48 | "route": "Gantt/Task", |
| 49 | "doctype": "Task", |
| 50 | "name": "Gantt Chart", |
| 51 | "description": _("Gantt chart of all tasks.") |
| 52 | }, |
| 53 | ] |
| 54 | }, |
| 55 | { |
| 56 | "label": _("Standard Reports"), |
| 57 | "icon": "icon-list", |
| 58 | "items": [ |
| 59 | { |
| 60 | "type": "report", |
| 61 | "is_query_report": True, |
| 62 | "name": "Daily Time Log Summary", |
| 63 | "doctype": "Time Log" |
| 64 | }, |
| 65 | { |
| 66 | "type": "report", |
| 67 | "is_query_report": True, |
| 68 | "name": "Project wise Stock Tracking", |
| 69 | "doctype": "Project" |
| 70 | }, |
| 71 | ] |
| 72 | }, |
| 73 | ] |