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