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", |
| 54 | "name": "Accounts Browser", |
| 55 | "icon": "icon-sitemap", |
| 56 | "label": _("Chart of Accounts"), |
| 57 | "route": "Accounts Browser/Account", |
| 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", |
| 196 | "name": "Accounts Browser", |
| 197 | "icon": "icon-sitemap", |
| 198 | "label": _("Chart of Cost Centers"), |
| 199 | "route": "Accounts Browser/Cost Center", |
| 200 | "description": _("Tree of financial Cost Centers."), |
| 201 | "doctype": "Cost Center", |
| 202 | }, |
| 203 | { |
| 204 | "type": "report", |
| 205 | "name": "Budget Variance Report", |
| 206 | "is_query_report": True, |
| 207 | "doctype": "Cost Center" |
| 208 | }, |
| 209 | { |
| 210 | "type":"doctype", |
| 211 | "name": "Monthly Distribution", |
| 212 | "description": _("Seasonality for setting budgets, targets etc.") |
| 213 | }, |
| 214 | ] |
| 215 | }, |
| 216 | { |
| 217 | "label": _("Tools"), |
| 218 | "items": [ |
| 219 | { |
| 220 | "type": "doctype", |
| 221 | "name": "Period Closing Voucher", |
| 222 | "description": _("Close Balance Sheet and book Profit or Loss.") |
| 223 | }, |
| 224 | ] |
| 225 | }, |
| 226 | { |
| 227 | "label": _("Setup"), |
| 228 | "icon": "icon-cog", |
| 229 | "items": [ |
| 230 | { |
| 231 | "type": "doctype", |
| 232 | "name": "Accounts Settings", |
| 233 | "description": _("Default settings for accounting transactions.") |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 234 | }, |
| 235 | { |
| 236 | "type": "doctype", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 237 | "name": "Fiscal Year", |
| 238 | "description": _("Financial / accounting year.") |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 239 | }, |
| 240 | { |
| 241 | "type": "doctype", |
| 242 | "name": "Currency", |
| 243 | "description": _("Enable / disable currencies.") |
| 244 | }, |
| 245 | { |
| 246 | "type": "doctype", |
| 247 | "name": "Currency Exchange", |
| 248 | "description": _("Currency exchange rate master.") |
| 249 | }, |
| 250 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 251 | "type": "doctype", |
| 252 | "name": "Payment Gateway Account", |
| 253 | "description": _("Setup Gateway accounts.") |
| 254 | }, |
| 255 | { |
| 256 | "type": "doctype", |
| 257 | "name": "POS Profile", |
| 258 | "label": _("Point-of-Sale Profile"), |
| 259 | "description": _("Rules to calculate shipping amount for a sale") |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 260 | }, |
| 261 | { |
| 262 | "type": "doctype", |
| 263 | "name":"Terms and Conditions", |
| 264 | "label": _("Terms and Conditions Template"), |
| 265 | "description": _("Template of terms or contract.") |
| 266 | }, |
| 267 | { |
| 268 | "type": "doctype", |
| 269 | "name":"Mode of Payment", |
| 270 | "description": _("e.g. Bank, Cash, Credit Card") |
| 271 | }, |
| 272 | { |
| 273 | "type": "doctype", |
| 274 | "name":"C-Form", |
| 275 | "description": _("C-Form records"), |
| 276 | "country": "India" |
| 277 | } |
| 278 | ] |
| 279 | }, |
| 280 | { |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 281 | "label": _("To Bill"), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 282 | "items": [ |
| 283 | { |
| 284 | "type": "report", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 285 | "name": "Ordered Items To Be Billed", |
| 286 | "is_query_report": True, |
| 287 | "doctype": "Sales Invoice" |
| 288 | }, |
| 289 | { |
| 290 | "type": "report", |
| 291 | "name": "Delivered Items To Be Billed", |
| 292 | "is_query_report": True, |
| 293 | "doctype": "Sales Invoice" |
| 294 | }, |
| 295 | { |
| 296 | "type": "report", |
| 297 | "name": "Purchase Order Items To Be Billed", |
| 298 | "is_query_report": True, |
| 299 | "doctype": "Purchase Invoice" |
| 300 | }, |
| 301 | { |
| 302 | "type": "report", |
| 303 | "name": "Received Items To Be Billed", |
| 304 | "is_query_report": True, |
| 305 | "doctype": "Purchase Invoice" |
| 306 | }, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 307 | ] |
| 308 | |
| 309 | }, |
| 310 | { |
| 311 | "label": _("Analytics"), |
| 312 | "items": [ |
| 313 | { |
| 314 | "type": "page", |
| 315 | "name": "financial-analytics", |
| 316 | "label": _("Financial Analytics"), |
| 317 | "icon": "icon-bar-chart", |
| 318 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 319 | { |
| 320 | "type": "report", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 321 | "name": "Gross Profit", |
| 322 | "doctype": "Sales Invoice", |
| 323 | "is_query_report": True |
| 324 | }, |
| 325 | { |
| 326 | "type": "report", |
| 327 | "name": "Purchase Invoice Trends", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 328 | "is_query_report": True, |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 329 | "doctype": "Purchase Invoice" |
| 330 | }, |
| 331 | { |
| 332 | "type": "report", |
| 333 | "name": "Sales Invoice Trends", |
| 334 | "is_query_report": True, |
| 335 | "doctype": "Sales Invoice" |
| 336 | }, |
| 337 | ] |
| 338 | }, |
| 339 | { |
| 340 | "label": _("Other Reports"), |
| 341 | "icon": "icon-table", |
| 342 | "items": [ |
| 343 | { |
| 344 | "type": "report", |
Nabin Hait | cd0e8ce | 2016-04-09 16:06:28 +0530 | [diff] [blame] | 345 | "name": "Asset Depreciation Ledger", |
| 346 | "doctype": "Asset", |
| 347 | "is_query_report": True, |
| 348 | }, |
| 349 | { |
| 350 | "type": "report", |
| 351 | "name": "Asset Depreciations and Balances", |
| 352 | "doctype": "Asset", |
| 353 | "is_query_report": True, |
| 354 | }, |
| 355 | { |
| 356 | "type": "report", |
Rushabh Mehta | d1e1c52 | 2016-03-08 18:06:21 +0530 | [diff] [blame] | 357 | "name": "Trial Balance for Party", |
| 358 | "doctype": "GL Entry", |
| 359 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 360 | }, |
| 361 | { |
| 362 | "type": "report", |
| 363 | "name": "Payment Period Based On Invoice Date", |
| 364 | "is_query_report": True, |
Nabin Hait | 23d2a53 | 2014-12-25 17:14:18 +0530 | [diff] [blame] | 365 | "doctype": "Journal Entry" |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 366 | }, |
| 367 | { |
| 368 | "type": "report", |
| 369 | "name": "Sales Partners Commission", |
| 370 | "is_query_report": True, |
| 371 | "doctype": "Sales Invoice" |
| 372 | }, |
| 373 | { |
| 374 | "type": "report", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 375 | "name": "Item-wise Sales Register", |
| 376 | "is_query_report": True, |
| 377 | "doctype": "Sales Invoice" |
| 378 | }, |
| 379 | { |
| 380 | "type": "report", |
| 381 | "name": "Item-wise Purchase Register", |
| 382 | "is_query_report": True, |
| 383 | "doctype": "Purchase Invoice" |
| 384 | }, |
| 385 | { |
| 386 | "type": "report", |
Nabin Hait | e637086 | 2014-10-30 15:50:03 +0530 | [diff] [blame] | 387 | "name": "Accounts Receivable Summary", |
| 388 | "doctype": "Sales Invoice", |
| 389 | "is_query_report": True |
| 390 | }, |
| 391 | { |
| 392 | "type": "report", |
ankitjavalkarwork | e6e65b0 | 2014-11-04 14:36:50 +0530 | [diff] [blame] | 393 | "name": "Accounts Payable Summary", |
| 394 | "doctype": "Purchase Invoice", |
| 395 | "is_query_report": True |
| 396 | }, |
| 397 | { |
| 398 | "type": "report", |
Nabin Hait | e637086 | 2014-10-30 15:50:03 +0530 | [diff] [blame] | 399 | "is_query_report": True, |
| 400 | "name": "Customer Credit Balance", |
| 401 | "doctype": "Customer" |
| 402 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 403 | ] |
| 404 | }, |
Rushabh Mehta | 6771240 | 2015-05-25 18:30:53 +0530 | [diff] [blame] | 405 | { |
| 406 | "label": _("Help"), |
| 407 | "icon": "icon-facetime-video", |
| 408 | "items": [ |
| 409 | { |
| 410 | "type": "help", |
| 411 | "label": _("Chart of Accounts"), |
| 412 | "youtube_id": "DyR-DST-PyA" |
| 413 | }, |
| 414 | { |
| 415 | "type": "help", |
| 416 | "label": _("Opening Accounting Balance"), |
| 417 | "youtube_id": "kdgM20Q-q68" |
| 418 | }, |
| 419 | { |
| 420 | "type": "help", |
| 421 | "label": _("Setting up Taxes"), |
| 422 | "youtube_id": "nQ1zZdPgdaQ" |
| 423 | } |
| 424 | ] |
| 425 | } |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 426 | ] |