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": _("Billing"), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 8 | "items": [ |
| 9 | { |
| 10 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 11 | "name": "Sales Invoice", |
| 12 | "description": _("Bills raised to Customers.") |
| 13 | }, |
| 14 | { |
| 15 | "type": "doctype", |
| 16 | "name": "Purchase Invoice", |
| 17 | "description": _("Bills raised by Suppliers.") |
| 18 | }, |
| 19 | { |
| 20 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 21 | "name": "Payment Request", |
| 22 | "description": _("Payment Request") |
| 23 | }, |
| 24 | { |
Nabin Hait | e4bbb69 | 2016-07-04 16:16:24 +0530 | [diff] [blame] | 25 | "type": "doctype", |
| 26 | "name": "Payment Entry", |
| 27 | "description": _("Bank/Cash transactions against party or for internal transfer") |
| 28 | }, |
| 29 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 30 | "type": "report", |
| 31 | "name": "Accounts Receivable", |
Nabin Hait | e4bbb69 | 2016-07-04 16:16:24 +0530 | [diff] [blame] | 32 | "doctype": "Sales Invoice", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 33 | "is_query_report": True |
| 34 | }, |
| 35 | { |
| 36 | "type": "report", |
| 37 | "name": "Accounts Payable", |
| 38 | "doctype": "Purchase Invoice", |
| 39 | "is_query_report": True |
| 40 | }, |
| 41 | ] |
| 42 | |
| 43 | }, |
| 44 | { |
| 45 | "label": _("Company and Accounts"), |
| 46 | "items": [ |
| 47 | { |
| 48 | "type": "doctype", |
| 49 | "name": "Company", |
| 50 | "description": _("Company (not Customer or Supplier) master.") |
| 51 | }, |
| 52 | { |
| 53 | "type": "doctype", |
| 54 | "name": "Journal Entry", |
| 55 | "description": _("Accounting journal entries.") |
| 56 | }, |
| 57 | { |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 58 | "type": "doctype", |
| 59 | "name": "Account", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 60 | "icon": "icon-sitemap", |
| 61 | "label": _("Chart of Accounts"), |
Saurabh | 1702273 | 2016-06-21 13:19:17 +0530 | [diff] [blame] | 62 | "route": "Tree/Account", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 63 | "description": _("Tree of financial accounts."), |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 64 | }, |
| 65 | { |
| 66 | "type": "report", |
| 67 | "name":"General Ledger", |
| 68 | "doctype": "GL Entry", |
| 69 | "is_query_report": True, |
| 70 | }, |
| 71 | ] |
| 72 | }, |
| 73 | { |
| 74 | "label": _("Masters"), |
| 75 | "items": [ |
| 76 | { |
| 77 | "type": "doctype", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 78 | "name": "Customer", |
| 79 | "description": _("Customer database.") |
| 80 | }, |
| 81 | { |
| 82 | "type": "doctype", |
| 83 | "name": "Supplier", |
| 84 | "description": _("Supplier database.") |
| 85 | }, |
| 86 | { |
Saurabh | 3ba2267 | 2015-12-21 18:24:49 +0530 | [diff] [blame] | 87 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 88 | "name": "Item", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 89 | }, |
Nabin Hait | 9501a1e | 2016-03-30 15:06:19 +0530 | [diff] [blame] | 90 | { |
| 91 | "type": "doctype", |
| 92 | "name": "Asset", |
| 93 | }, |
| 94 | { |
| 95 | "type": "doctype", |
| 96 | "name": "Asset Category", |
| 97 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 98 | ] |
| 99 | }, |
| 100 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 101 | "label": _("Accounting Statements"), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 102 | "items": [ |
| 103 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 104 | "type": "report", |
| 105 | "name": "Trial Balance", |
| 106 | "doctype": "GL Entry", |
| 107 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 108 | }, |
ankitjavalkarwork | b0cffac | 2014-07-22 15:02:59 +0530 | [diff] [blame] | 109 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 110 | "type": "report", |
| 111 | "name": "Balance Sheet", |
| 112 | "doctype": "GL Entry", |
| 113 | "is_query_report": True |
ankitjavalkarwork | b0cffac | 2014-07-22 15:02:59 +0530 | [diff] [blame] | 114 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 115 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 116 | "type": "report", |
| 117 | "name": "Cash Flow", |
| 118 | "doctype": "GL Entry", |
| 119 | "is_query_report": True |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 120 | }, |
Ankit Javalkar | 8e7ca41 | 2014-09-12 15:18:53 +0530 | [diff] [blame] | 121 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 122 | "type": "report", |
| 123 | "name": "Profit and Loss Statement", |
| 124 | "doctype": "GL Entry", |
| 125 | "is_query_report": True |
| 126 | }, |
| 127 | ] |
| 128 | }, |
| 129 | { |
| 130 | "label": _("Banking and Payments"), |
| 131 | "items": [ |
| 132 | { |
Ankit Javalkar | 8e7ca41 | 2014-09-12 15:18:53 +0530 | [diff] [blame] | 133 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 134 | "label": _("Update Bank Transaction Dates"), |
| 135 | "name": "Bank Reconciliation", |
| 136 | "description": _("Update bank payment dates with journals.") |
| 137 | }, |
| 138 | { |
| 139 | "type": "doctype", |
| 140 | "label": _("Match Payments with Invoices"), |
| 141 | "name": "Payment Reconciliation", |
| 142 | "description": _("Match non-linked Invoices and Payments.") |
| 143 | }, |
| 144 | { |
| 145 | "type": "report", |
| 146 | "name": "Bank Reconciliation Statement", |
| 147 | "is_query_report": True, |
| 148 | "doctype": "Journal Entry" |
| 149 | }, |
| 150 | { |
| 151 | "type": "report", |
| 152 | "name": "Bank Clearance Summary", |
| 153 | "is_query_report": True, |
| 154 | "doctype": "Journal Entry" |
| 155 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 156 | ] |
| 157 | }, |
| 158 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 159 | "label": _("Taxes"), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 160 | "items": [ |
| 161 | { |
| 162 | "type": "doctype", |
Rushabh Mehta | bcdea3e | 2015-05-06 18:45:47 +0530 | [diff] [blame] | 163 | "name": "Sales Taxes and Charges Template", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 164 | "description": _("Tax template for selling transactions.") |
| 165 | }, |
| 166 | { |
| 167 | "type": "doctype", |
Rushabh Mehta | bcdea3e | 2015-05-06 18:45:47 +0530 | [diff] [blame] | 168 | "name": "Purchase Taxes and Charges Template", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 169 | "description": _("Tax template for buying transactions.") |
| 170 | }, |
| 171 | { |
| 172 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 173 | "name": "Tax Rule", |
| 174 | "description": _("Tax Rule for transactions.") |
| 175 | }, |
| 176 | { |
| 177 | "type": "report", |
| 178 | "name": "Sales Register", |
| 179 | "doctype": "Sales Invoice", |
| 180 | "is_query_report": True |
| 181 | }, |
| 182 | { |
| 183 | "type": "report", |
| 184 | "name": "Purchase Register", |
| 185 | "doctype": "Purchase Invoice", |
| 186 | "is_query_report": True |
| 187 | }, |
| 188 | ] |
| 189 | }, |
| 190 | { |
| 191 | "label": _("Budget and Cost Center"), |
| 192 | "items": [ |
| 193 | { |
Saurabh | 52ec0ed | 2016-07-05 18:02:38 +0530 | [diff] [blame] | 194 | "type": "doctype", |
| 195 | "name": "Cost Center", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 196 | "icon": "icon-sitemap", |
| 197 | "label": _("Chart of Cost Centers"), |
Saurabh | ec8babe | 2016-06-21 15:55:54 +0530 | [diff] [blame] | 198 | "route": "Tree/Cost Center", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 199 | "description": _("Tree of financial Cost Centers."), |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 200 | }, |
| 201 | { |
Nabin Hait | b9bc7d6 | 2016-05-16 14:38:47 +0530 | [diff] [blame] | 202 | "type": "doctype", |
| 203 | "name": "Budget", |
| 204 | "description": _("Define budget for a financial year.") |
| 205 | }, |
| 206 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 207 | "type": "report", |
| 208 | "name": "Budget Variance Report", |
| 209 | "is_query_report": True, |
| 210 | "doctype": "Cost Center" |
| 211 | }, |
| 212 | { |
| 213 | "type":"doctype", |
| 214 | "name": "Monthly Distribution", |
| 215 | "description": _("Seasonality for setting budgets, targets etc.") |
| 216 | }, |
| 217 | ] |
| 218 | }, |
| 219 | { |
| 220 | "label": _("Tools"), |
| 221 | "items": [ |
| 222 | { |
| 223 | "type": "doctype", |
| 224 | "name": "Period Closing Voucher", |
| 225 | "description": _("Close Balance Sheet and book Profit or Loss.") |
| 226 | }, |
Nabin Hait | 70f05df | 2016-04-25 18:49:17 +0530 | [diff] [blame] | 227 | { |
| 228 | "type": "doctype", |
| 229 | "name": "Asset Movement", |
| 230 | "description": _("Transfer an asset from one warehouse to another") |
| 231 | }, |
Saurabh | 066ae8e | 2016-07-05 12:41:20 +0530 | [diff] [blame] | 232 | { |
| 233 | "type": "doctype", |
| 234 | "name": "Cheque Print Template", |
| 235 | "description": _("Setup cheque dimensions for printing") |
| 236 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 237 | ] |
| 238 | }, |
| 239 | { |
| 240 | "label": _("Setup"), |
| 241 | "icon": "icon-cog", |
| 242 | "items": [ |
| 243 | { |
| 244 | "type": "doctype", |
| 245 | "name": "Accounts Settings", |
| 246 | "description": _("Default settings for accounting transactions.") |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 247 | }, |
| 248 | { |
| 249 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 250 | "name": "Fiscal Year", |
| 251 | "description": _("Financial / accounting year.") |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 252 | }, |
| 253 | { |
| 254 | "type": "doctype", |
| 255 | "name": "Currency", |
| 256 | "description": _("Enable / disable currencies.") |
| 257 | }, |
| 258 | { |
| 259 | "type": "doctype", |
| 260 | "name": "Currency Exchange", |
| 261 | "description": _("Currency exchange rate master.") |
| 262 | }, |
| 263 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 264 | "type": "doctype", |
| 265 | "name": "Payment Gateway Account", |
| 266 | "description": _("Setup Gateway accounts.") |
| 267 | }, |
| 268 | { |
| 269 | "type": "doctype", |
| 270 | "name": "POS Profile", |
| 271 | "label": _("Point-of-Sale Profile"), |
| 272 | "description": _("Rules to calculate shipping amount for a sale") |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 273 | }, |
| 274 | { |
| 275 | "type": "doctype", |
| 276 | "name":"Terms and Conditions", |
| 277 | "label": _("Terms and Conditions Template"), |
| 278 | "description": _("Template of terms or contract.") |
| 279 | }, |
| 280 | { |
| 281 | "type": "doctype", |
| 282 | "name":"Mode of Payment", |
| 283 | "description": _("e.g. Bank, Cash, Credit Card") |
| 284 | }, |
| 285 | { |
| 286 | "type": "doctype", |
| 287 | "name":"C-Form", |
| 288 | "description": _("C-Form records"), |
| 289 | "country": "India" |
| 290 | } |
| 291 | ] |
| 292 | }, |
| 293 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 294 | "label": _("To Bill"), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 295 | "items": [ |
| 296 | { |
| 297 | "type": "report", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 298 | "name": "Ordered Items To Be Billed", |
| 299 | "is_query_report": True, |
| 300 | "doctype": "Sales Invoice" |
| 301 | }, |
| 302 | { |
| 303 | "type": "report", |
| 304 | "name": "Delivered Items To Be Billed", |
| 305 | "is_query_report": True, |
| 306 | "doctype": "Sales Invoice" |
| 307 | }, |
| 308 | { |
| 309 | "type": "report", |
| 310 | "name": "Purchase Order Items To Be Billed", |
| 311 | "is_query_report": True, |
| 312 | "doctype": "Purchase Invoice" |
| 313 | }, |
| 314 | { |
| 315 | "type": "report", |
| 316 | "name": "Received Items To Be Billed", |
| 317 | "is_query_report": True, |
| 318 | "doctype": "Purchase Invoice" |
| 319 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 320 | ] |
| 321 | |
| 322 | }, |
| 323 | { |
| 324 | "label": _("Analytics"), |
| 325 | "items": [ |
| 326 | { |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 327 | "type": "report", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 328 | "name": "Gross Profit", |
| 329 | "doctype": "Sales Invoice", |
| 330 | "is_query_report": True |
| 331 | }, |
| 332 | { |
| 333 | "type": "report", |
| 334 | "name": "Purchase Invoice Trends", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 335 | "is_query_report": True, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 336 | "doctype": "Purchase Invoice" |
| 337 | }, |
| 338 | { |
| 339 | "type": "report", |
| 340 | "name": "Sales Invoice Trends", |
| 341 | "is_query_report": True, |
| 342 | "doctype": "Sales Invoice" |
| 343 | }, |
| 344 | ] |
| 345 | }, |
| 346 | { |
| 347 | "label": _("Other Reports"), |
| 348 | "icon": "icon-table", |
| 349 | "items": [ |
| 350 | { |
| 351 | "type": "report", |
Nabin Hait | cd0e8ce | 2016-04-09 16:06:28 +0530 | [diff] [blame] | 352 | "name": "Asset Depreciation Ledger", |
| 353 | "doctype": "Asset", |
| 354 | "is_query_report": True, |
| 355 | }, |
| 356 | { |
| 357 | "type": "report", |
| 358 | "name": "Asset Depreciations and Balances", |
| 359 | "doctype": "Asset", |
| 360 | "is_query_report": True, |
| 361 | }, |
| 362 | { |
| 363 | "type": "report", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 364 | "name": "Trial Balance for Party", |
| 365 | "doctype": "GL Entry", |
| 366 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 367 | }, |
| 368 | { |
| 369 | "type": "report", |
| 370 | "name": "Payment Period Based On Invoice Date", |
| 371 | "is_query_report": True, |
Nabin Hait | 23d2a53 | 2014-12-25 17:14:18 +0530 | [diff] [blame] | 372 | "doctype": "Journal Entry" |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 373 | }, |
| 374 | { |
| 375 | "type": "report", |
| 376 | "name": "Sales Partners Commission", |
| 377 | "is_query_report": True, |
| 378 | "doctype": "Sales Invoice" |
| 379 | }, |
| 380 | { |
| 381 | "type": "report", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 382 | "name": "Item-wise Sales Register", |
| 383 | "is_query_report": True, |
| 384 | "doctype": "Sales Invoice" |
| 385 | }, |
| 386 | { |
| 387 | "type": "report", |
| 388 | "name": "Item-wise Purchase Register", |
| 389 | "is_query_report": True, |
| 390 | "doctype": "Purchase Invoice" |
| 391 | }, |
| 392 | { |
| 393 | "type": "report", |
Nabin Hait | e637086 | 2014-10-30 15:50:03 +0530 | [diff] [blame] | 394 | "name": "Accounts Receivable Summary", |
| 395 | "doctype": "Sales Invoice", |
| 396 | "is_query_report": True |
| 397 | }, |
| 398 | { |
| 399 | "type": "report", |
ankitjavalkarwork | e6e65b0 | 2014-11-04 14:36:50 +0530 | [diff] [blame] | 400 | "name": "Accounts Payable Summary", |
| 401 | "doctype": "Purchase Invoice", |
| 402 | "is_query_report": True |
| 403 | }, |
| 404 | { |
| 405 | "type": "report", |
Nabin Hait | e637086 | 2014-10-30 15:50:03 +0530 | [diff] [blame] | 406 | "is_query_report": True, |
| 407 | "name": "Customer Credit Balance", |
| 408 | "doctype": "Customer" |
| 409 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 410 | ] |
| 411 | }, |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 412 | { |
| 413 | "label": _("Help"), |
| 414 | "icon": "icon-facetime-video", |
| 415 | "items": [ |
| 416 | { |
| 417 | "type": "help", |
| 418 | "label": _("Chart of Accounts"), |
| 419 | "youtube_id": "DyR-DST-PyA" |
| 420 | }, |
| 421 | { |
| 422 | "type": "help", |
| 423 | "label": _("Opening Accounting Balance"), |
| 424 | "youtube_id": "kdgM20Q-q68" |
| 425 | }, |
| 426 | { |
| 427 | "type": "help", |
| 428 | "label": _("Setting up Taxes"), |
| 429 | "youtube_id": "nQ1zZdPgdaQ" |
| 430 | } |
| 431 | ] |
| 432 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 433 | ] |