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