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