Anand Doshi | f5794f1 | 2014-03-03 15:05:28 +0530 | [diff] [blame] | 1 | from frappe import _ |
| 2 | |
| 3 | data = [ |
| 4 | { |
| 5 | "label": _("Documents"), |
| 6 | "icon": "icon-star", |
| 7 | "items": [ |
| 8 | { |
| 9 | "type": "doctype", |
| 10 | "name": "Employee", |
| 11 | "description": _("Employee records."), |
| 12 | }, |
| 13 | { |
| 14 | "type": "doctype", |
| 15 | "name": "Salary Slip", |
| 16 | "description": _("Monthly salary statement."), |
| 17 | }, |
| 18 | { |
| 19 | "type": "doctype", |
| 20 | "name": "Leave Application", |
| 21 | "description": _("Applications for leave."), |
| 22 | }, |
| 23 | { |
| 24 | "type": "doctype", |
| 25 | "name": "Attendance", |
| 26 | "description": _("Attendance record."), |
| 27 | }, |
| 28 | { |
| 29 | "type": "doctype", |
| 30 | "name": "Expense Claim", |
| 31 | "description": _("Claims for company expense."), |
| 32 | }, |
| 33 | { |
| 34 | "type": "doctype", |
| 35 | "name": "Appraisal", |
| 36 | "description": _("Performance appraisal."), |
| 37 | }, |
| 38 | { |
| 39 | "type": "doctype", |
| 40 | "name": "Job Applicant", |
| 41 | "description": _("Applicant for a Job."), |
| 42 | }, |
| 43 | { |
| 44 | "type": "doctype", |
| 45 | "name": "Job Opening", |
| 46 | "description": _("Opening for a Job."), |
| 47 | }, |
| 48 | ] |
| 49 | }, |
| 50 | { |
| 51 | "label": _("Tools"), |
| 52 | "icon": "icon-wrench", |
| 53 | "items": [ |
| 54 | { |
| 55 | "type": "doctype", |
| 56 | "name": "Salary Manager", |
| 57 | "label": _("Process Payroll"), |
| 58 | "description":_("Generate Salary Slips"), |
| 59 | "hide_count": True |
| 60 | }, |
| 61 | { |
| 62 | "type": "doctype", |
| 63 | "name": "Upload Attendance", |
| 64 | "description":_("Upload attendance from a .csv file"), |
| 65 | "hide_count": True |
| 66 | }, |
| 67 | { |
| 68 | "type": "doctype", |
| 69 | "name": "Leave Control Panel", |
| 70 | "label": _("Leave Allocation Tool"), |
| 71 | "description":_("Allocate leaves for the year."), |
| 72 | "hide_count": True |
| 73 | }, |
| 74 | ] |
| 75 | }, |
| 76 | { |
| 77 | "label": _("Setup"), |
| 78 | "icon": "icon-cog", |
| 79 | "items": [ |
| 80 | { |
| 81 | "type": "doctype", |
| 82 | "name": "HR Settings", |
| 83 | "description": _("Settings for HR Module") |
| 84 | }, |
| 85 | { |
| 86 | "type": "doctype", |
| 87 | "name": "Employee", |
| 88 | "description": _("Employee master.") |
| 89 | }, |
| 90 | { |
| 91 | "type": "doctype", |
| 92 | "name": "Employment Type", |
| 93 | "description": _("Types of employment (permanent, contract, intern etc.).") |
| 94 | }, |
| 95 | { |
| 96 | "type": "doctype", |
| 97 | "name": "Branch", |
| 98 | "description": _("Organization branch master.") |
| 99 | }, |
| 100 | { |
| 101 | "type": "doctype", |
| 102 | "name": "Department", |
| 103 | "description": _("Organization unit (department) master.") |
| 104 | }, |
| 105 | { |
| 106 | "type": "doctype", |
| 107 | "name": "Grade", |
| 108 | "description": _("Employee grade.") |
| 109 | }, |
| 110 | { |
| 111 | "type": "doctype", |
| 112 | "name": "Designation", |
| 113 | "description": _("Employee designation (e.g. CEO, Director etc.).") |
| 114 | }, |
| 115 | { |
| 116 | "type": "doctype", |
| 117 | "name": "Salary Structure", |
| 118 | "description": _("Salary template master.") |
| 119 | }, |
| 120 | { |
| 121 | "type": "doctype", |
| 122 | "name": "Earning Type", |
| 123 | "description": _("Salary components.") |
| 124 | }, |
| 125 | { |
| 126 | "type": "doctype", |
| 127 | "name": "Deduction Type", |
| 128 | "description": _("Tax and other salary deductions.") |
| 129 | }, |
| 130 | { |
| 131 | "type": "doctype", |
| 132 | "name": "Leave Allocation", |
| 133 | "description": _("Allocate leaves for a period.") |
| 134 | }, |
| 135 | { |
| 136 | "type": "doctype", |
| 137 | "name":"Leave Type", |
| 138 | "description": _("Type of leaves like casual, sick etc."), |
| 139 | }, |
| 140 | { |
| 141 | "type": "doctype", |
| 142 | "name": "Holiday List", |
| 143 | "description": _("Holiday master.") |
| 144 | }, |
| 145 | { |
| 146 | "type": "doctype", |
| 147 | "name": "Leave Block List", |
| 148 | "description": _("Block leave applications by department.") |
| 149 | }, |
| 150 | { |
| 151 | "type": "doctype", |
| 152 | "name": "Appraisal Template", |
| 153 | "description": _("Template for performance appraisals.") |
| 154 | }, |
| 155 | { |
| 156 | "type": "doctype", |
| 157 | "name": "Expense Claim Type", |
| 158 | "description": _("Types of Expense Claim.") |
| 159 | }, |
| 160 | { |
| 161 | "type": "doctype", |
| 162 | "name": "Jobs Email Settings", |
| 163 | "description": _("Setup incoming server for jobs email id. (e.g. jobs@example.com)") |
| 164 | }, |
| 165 | ] |
| 166 | }, |
| 167 | { |
| 168 | "label": _("Standard Reports"), |
| 169 | "icon": "icon-list", |
| 170 | "items": [ |
| 171 | { |
| 172 | "type": "report", |
| 173 | "is_query_report": True, |
| 174 | "name": "Employee Leave Balance", |
| 175 | "doctype": "Leave Application" |
| 176 | }, |
| 177 | { |
| 178 | "type": "report", |
| 179 | "is_query_report": True, |
| 180 | "name": "Employee Birthday", |
| 181 | "doctype": "Employee" |
| 182 | }, |
| 183 | { |
| 184 | "type": "report", |
| 185 | "name": "Employee Information", |
| 186 | "doctype": "Employee" |
| 187 | }, |
| 188 | { |
| 189 | "type": "report", |
| 190 | "is_query_report": True, |
| 191 | "name": "Monthly Salary Register", |
| 192 | "doctype": "Salary Slip" |
| 193 | }, |
| 194 | { |
| 195 | "type": "report", |
| 196 | "is_query_report": True, |
| 197 | "name": "Monthly Attendance Sheet", |
| 198 | "doctype": "Attendance" |
| 199 | }, |
| 200 | ] |
| 201 | }, |
| 202 | ] |