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", |
Nabin Hait | 23d2a53 | 2014-12-25 17:14:18 +0530 | [diff] [blame] | 12 | "name": "Journal Entry", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 13 | "description": _("Accounting journal entries.") |
| 14 | }, |
| 15 | { |
| 16 | "type": "doctype", |
| 17 | "name": "Sales Invoice", |
| 18 | "description": _("Bills raised to Customers.") |
| 19 | }, |
| 20 | { |
| 21 | "type": "doctype", |
| 22 | "name": "Purchase Invoice", |
| 23 | "description": _("Bills raised by Suppliers.") |
| 24 | }, |
| 25 | { |
| 26 | "type": "doctype", |
| 27 | "name": "Customer", |
| 28 | "description": _("Customer database.") |
| 29 | }, |
| 30 | { |
| 31 | "type": "doctype", |
| 32 | "name": "Supplier", |
| 33 | "description": _("Supplier database.") |
| 34 | }, |
| 35 | { |
| 36 | "type": "page", |
| 37 | "name": "Accounts Browser", |
| 38 | "icon": "icon-sitemap", |
| 39 | "label": _("Chart of Accounts"), |
| 40 | "route": "Accounts Browser/Account", |
| 41 | "description": _("Tree of finanial accounts."), |
| 42 | "doctype": "Account", |
| 43 | }, |
| 44 | ] |
| 45 | }, |
| 46 | { |
| 47 | "label": _("Tools"), |
| 48 | "icon": "icon-wrench", |
| 49 | "items": [ |
| 50 | { |
| 51 | "type": "doctype", |
| 52 | "name": "Bank Reconciliation", |
| 53 | "description": _("Update bank payment dates with journals.") |
| 54 | }, |
ankitjavalkarwork | b0cffac | 2014-07-22 15:02:59 +0530 | [diff] [blame] | 55 | { |
| 56 | "type": "doctype", |
| 57 | "name": "Payment Reconciliation", |
| 58 | "description": _("Match non-linked Invoices and Payments.") |
| 59 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 60 | { |
| 61 | "type": "doctype", |
| 62 | "name": "Period Closing Voucher", |
| 63 | "description": _("Close Balance Sheet and book Profit or Loss.") |
| 64 | }, |
Ankit Javalkar | 8e7ca41 | 2014-09-12 15:18:53 +0530 | [diff] [blame] | 65 | { |
| 66 | "type": "doctype", |
| 67 | "name": "Payment Tool", |
| 68 | "description": _("Create Payment Entries against Orders or Invoices.") |
| 69 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 70 | ] |
| 71 | }, |
| 72 | { |
| 73 | "label": _("Setup"), |
| 74 | "icon": "icon-cog", |
| 75 | "items": [ |
| 76 | { |
| 77 | "type": "doctype", |
Rushabh Mehta | 7278c0a | 2015-07-03 12:21:50 +0530 | [diff] [blame] | 78 | "name": "Company", |
| 79 | "description": _("Company (not Customer or Supplier) master.") |
| 80 | }, |
| 81 | { |
| 82 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 83 | "name": "Fiscal Year", |
| 84 | "description": _("Financial / accounting year.") |
| 85 | }, |
| 86 | { |
| 87 | "type": "page", |
| 88 | "name": "Accounts Browser", |
| 89 | "icon": "icon-sitemap", |
| 90 | "label": _("Chart of Accounts"), |
| 91 | "route": "Accounts Browser/Account", |
| 92 | "description": _("Tree of finanial accounts."), |
| 93 | "doctype": "Account", |
| 94 | }, |
| 95 | { |
| 96 | "type": "page", |
| 97 | "name": "Accounts Browser", |
| 98 | "icon": "icon-sitemap", |
| 99 | "label": _("Chart of Cost Centers"), |
| 100 | "route": "Accounts Browser/Cost Center", |
| 101 | "description": _("Tree of finanial Cost Centers."), |
| 102 | "doctype": "Cost Center", |
| 103 | }, |
| 104 | { |
| 105 | "type": "doctype", |
| 106 | "name": "Accounts Settings", |
| 107 | "description": _("Default settings for accounting transactions.") |
| 108 | }, |
| 109 | { |
| 110 | "type": "doctype", |
Rushabh Mehta | bcdea3e | 2015-05-06 18:45:47 +0530 | [diff] [blame] | 111 | "name": "Sales Taxes and Charges Template", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 112 | "description": _("Tax template for selling transactions.") |
| 113 | }, |
| 114 | { |
| 115 | "type": "doctype", |
Rushabh Mehta | bcdea3e | 2015-05-06 18:45:47 +0530 | [diff] [blame] | 116 | "name": "Purchase Taxes and Charges Template", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 117 | "description": _("Tax template for buying transactions.") |
| 118 | }, |
| 119 | { |
| 120 | "type": "doctype", |
Rushabh Mehta | a27cca9 | 2015-05-20 15:43:17 +0530 | [diff] [blame] | 121 | "name": "POS Profile", |
Nabin Hait | 3b0adc5 | 2015-05-21 16:51:15 +0530 | [diff] [blame] | 122 | "label": _("Point-of-Sale Profile"), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 123 | "description": _("Rules to calculate shipping amount for a sale") |
| 124 | }, |
| 125 | { |
| 126 | "type": "doctype", |
| 127 | "name": "Shipping Rule", |
| 128 | "description": _("Rules for adding shipping costs.") |
| 129 | }, |
| 130 | { |
| 131 | "type": "doctype", |
| 132 | "name": "Pricing Rule", |
| 133 | "description": _("Rules for applying pricing and discount.") |
| 134 | }, |
| 135 | { |
| 136 | "type": "doctype", |
| 137 | "name": "Currency", |
| 138 | "description": _("Enable / disable currencies.") |
| 139 | }, |
| 140 | { |
| 141 | "type": "doctype", |
| 142 | "name": "Currency Exchange", |
| 143 | "description": _("Currency exchange rate master.") |
| 144 | }, |
| 145 | { |
| 146 | "type":"doctype", |
Rushabh Mehta | e1cb0ae | 2015-01-05 17:38:48 +0530 | [diff] [blame] | 147 | "name": "Monthly Distribution", |
Nabin Hait | e8500ad | 2015-01-10 16:03:49 +0530 | [diff] [blame] | 148 | "description": _("Seasonality for setting budgets, targets etc.") |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 149 | }, |
| 150 | { |
| 151 | "type": "doctype", |
| 152 | "name":"Terms and Conditions", |
| 153 | "label": _("Terms and Conditions Template"), |
| 154 | "description": _("Template of terms or contract.") |
| 155 | }, |
| 156 | { |
| 157 | "type": "doctype", |
| 158 | "name":"Mode of Payment", |
| 159 | "description": _("e.g. Bank, Cash, Credit Card") |
| 160 | }, |
| 161 | { |
| 162 | "type": "doctype", |
| 163 | "name":"C-Form", |
| 164 | "description": _("C-Form records"), |
| 165 | "country": "India" |
| 166 | } |
| 167 | ] |
| 168 | }, |
| 169 | { |
| 170 | "label": _("Main Reports"), |
| 171 | "icon": "icon-table", |
| 172 | "items": [ |
| 173 | { |
| 174 | "type": "report", |
| 175 | "name":"General Ledger", |
| 176 | "doctype": "GL Entry", |
| 177 | "is_query_report": True, |
| 178 | }, |
| 179 | { |
Anand Doshi | cb86d59 | 2014-07-22 19:02:11 +0530 | [diff] [blame] | 180 | "type": "report", |
| 181 | "name": "Trial Balance", |
| 182 | "doctype": "GL Entry", |
| 183 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 184 | }, |
| 185 | { |
| 186 | "type": "report", |
Rushabh Mehta | 20bcf6a | 2015-04-13 15:31:24 +0530 | [diff] [blame] | 187 | "name": "Gross Profit", |
| 188 | "doctype": "Sales Invoice", |
| 189 | "is_query_report": True |
| 190 | }, |
| 191 | { |
| 192 | "type": "report", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 193 | "name": "Accounts Receivable", |
| 194 | "doctype": "Sales Invoice", |
| 195 | "is_query_report": True |
| 196 | }, |
| 197 | { |
| 198 | "type": "report", |
| 199 | "name": "Accounts Payable", |
| 200 | "doctype": "Purchase Invoice", |
| 201 | "is_query_report": True |
| 202 | }, |
| 203 | { |
| 204 | "type": "report", |
| 205 | "name": "Sales Register", |
| 206 | "doctype": "Sales Invoice", |
| 207 | "is_query_report": True |
| 208 | }, |
| 209 | { |
| 210 | "type": "report", |
| 211 | "name": "Purchase Register", |
| 212 | "doctype": "Purchase Invoice", |
| 213 | "is_query_report": True |
| 214 | }, |
| 215 | { |
Anand Doshi | fa576a2 | 2014-07-17 19:12:28 +0530 | [diff] [blame] | 216 | "type": "report", |
| 217 | "name": "Balance Sheet", |
| 218 | "doctype": "GL Entry", |
| 219 | "is_query_report": True |
| 220 | }, |
| 221 | { |
Anand Doshi | 825d014 | 2014-07-18 18:05:26 +0530 | [diff] [blame] | 222 | "type": "report", |
| 223 | "name": "Profit and Loss Statement", |
| 224 | "doctype": "GL Entry", |
| 225 | "is_query_report": True |
| 226 | }, |
| 227 | { |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 228 | "type": "page", |
| 229 | "name": "financial-analytics", |
| 230 | "label": _("Financial Analytics"), |
| 231 | "icon": "icon-bar-chart", |
Rushabh Mehta | 20bcf6a | 2015-04-13 15:31:24 +0530 | [diff] [blame] | 232 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 233 | ] |
| 234 | }, |
| 235 | { |
| 236 | "label": _("Standard Reports"), |
| 237 | "icon": "icon-list", |
| 238 | "items": [ |
| 239 | { |
| 240 | "type": "report", |
| 241 | "name": "Bank Reconciliation Statement", |
| 242 | "is_query_report": True, |
Nabin Hait | 23d2a53 | 2014-12-25 17:14:18 +0530 | [diff] [blame] | 243 | "doctype": "Journal Entry" |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 244 | }, |
| 245 | { |
| 246 | "type": "report", |
| 247 | "name": "Ordered Items To Be Billed", |
| 248 | "is_query_report": True, |
| 249 | "doctype": "Sales Invoice" |
| 250 | }, |
| 251 | { |
| 252 | "type": "report", |
| 253 | "name": "Delivered Items To Be Billed", |
| 254 | "is_query_report": True, |
| 255 | "doctype": "Sales Invoice" |
| 256 | }, |
| 257 | { |
| 258 | "type": "report", |
| 259 | "name": "Purchase Order Items To Be Billed", |
| 260 | "is_query_report": True, |
| 261 | "doctype": "Purchase Invoice" |
| 262 | }, |
| 263 | { |
| 264 | "type": "report", |
| 265 | "name": "Received Items To Be Billed", |
| 266 | "is_query_report": True, |
| 267 | "doctype": "Purchase Invoice" |
| 268 | }, |
| 269 | { |
| 270 | "type": "report", |
| 271 | "name": "Bank Clearance Summary", |
| 272 | "is_query_report": True, |
Nabin Hait | 23d2a53 | 2014-12-25 17:14:18 +0530 | [diff] [blame] | 273 | "doctype": "Journal Entry" |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 274 | }, |
| 275 | { |
| 276 | "type": "report", |
| 277 | "name": "Payment Period Based On Invoice Date", |
| 278 | "is_query_report": True, |
Nabin Hait | 23d2a53 | 2014-12-25 17:14:18 +0530 | [diff] [blame] | 279 | "doctype": "Journal Entry" |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 280 | }, |
| 281 | { |
| 282 | "type": "report", |
| 283 | "name": "Sales Partners Commission", |
| 284 | "is_query_report": True, |
| 285 | "doctype": "Sales Invoice" |
| 286 | }, |
| 287 | { |
| 288 | "type": "report", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 289 | "name": "Item-wise Sales Register", |
| 290 | "is_query_report": True, |
| 291 | "doctype": "Sales Invoice" |
| 292 | }, |
| 293 | { |
| 294 | "type": "report", |
| 295 | "name": "Item-wise Purchase Register", |
| 296 | "is_query_report": True, |
| 297 | "doctype": "Purchase Invoice" |
| 298 | }, |
| 299 | { |
| 300 | "type": "report", |
| 301 | "name": "Budget Variance Report", |
| 302 | "is_query_report": True, |
| 303 | "doctype": "Cost Center" |
| 304 | }, |
| 305 | { |
| 306 | "type": "report", |
| 307 | "name": "Purchase Invoice Trends", |
| 308 | "is_query_report": True, |
| 309 | "doctype": "Purchase Invoice" |
| 310 | }, |
| 311 | { |
| 312 | "type": "report", |
| 313 | "name": "Sales Invoice Trends", |
| 314 | "is_query_report": True, |
| 315 | "doctype": "Sales Invoice" |
| 316 | }, |
Nabin Hait | e637086 | 2014-10-30 15:50:03 +0530 | [diff] [blame] | 317 | { |
| 318 | "type": "report", |
| 319 | "name": "Accounts Receivable Summary", |
| 320 | "doctype": "Sales Invoice", |
| 321 | "is_query_report": True |
| 322 | }, |
| 323 | { |
| 324 | "type": "report", |
ankitjavalkarwork | e6e65b0 | 2014-11-04 14:36:50 +0530 | [diff] [blame] | 325 | "name": "Accounts Payable Summary", |
| 326 | "doctype": "Purchase Invoice", |
| 327 | "is_query_report": True |
| 328 | }, |
| 329 | { |
| 330 | "type": "report", |
Nabin Hait | e637086 | 2014-10-30 15:50:03 +0530 | [diff] [blame] | 331 | "is_query_report": True, |
| 332 | "name": "Customer Credit Balance", |
| 333 | "doctype": "Customer" |
| 334 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 335 | ] |
| 336 | }, |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 337 | { |
| 338 | "label": _("Help"), |
| 339 | "icon": "icon-facetime-video", |
| 340 | "items": [ |
| 341 | { |
| 342 | "type": "help", |
| 343 | "label": _("Chart of Accounts"), |
| 344 | "youtube_id": "DyR-DST-PyA" |
| 345 | }, |
| 346 | { |
| 347 | "type": "help", |
| 348 | "label": _("Opening Accounting Balance"), |
| 349 | "youtube_id": "kdgM20Q-q68" |
| 350 | }, |
| 351 | { |
| 352 | "type": "help", |
| 353 | "label": _("Setting up Taxes"), |
| 354 | "youtube_id": "nQ1zZdPgdaQ" |
| 355 | } |
| 356 | ] |
| 357 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 358 | ] |