Prateeksha Singh | 01a045a | 2019-02-11 14:00:48 +0530 | [diff] [blame] | 1 | from __future__ import unicode_literals |
| 2 | from frappe import _ |
| 3 | |
| 4 | def get_data(): |
| 5 | return [ |
| 6 | { |
| 7 | "label": _("Accounting"), |
| 8 | "items": [ |
| 9 | { |
| 10 | "type": "doctype", |
| 11 | "name": "Item", |
| 12 | "onboard": 1, |
| 13 | }, |
| 14 | { |
| 15 | "type": "doctype", |
| 16 | "name": "Customer", |
| 17 | "description": _("Customer database."), |
| 18 | "onboard": 1, |
| 19 | }, |
| 20 | { |
| 21 | "type": "doctype", |
| 22 | "name": "Supplier", |
| 23 | "description": _("Supplier database."), |
| 24 | "onboard": 1, |
| 25 | }, |
| 26 | { |
| 27 | "type": "doctype", |
| 28 | "name": "Company", |
| 29 | "description": _("Company (not Customer or Supplier) master."), |
| 30 | "onboard": 1, |
| 31 | }, |
| 32 | { |
| 33 | "type": "doctype", |
| 34 | "name": "Account", |
| 35 | "icon": "fa fa-sitemap", |
| 36 | "label": _("Chart of Accounts"), |
| 37 | "route": "#Tree/Account", |
| 38 | "description": _("Tree of financial accounts."), |
| 39 | "onboard": 1, |
| 40 | }, |
| 41 | { |
| 42 | "type": "doctype", |
| 43 | "name": "Journal Entry", |
| 44 | "description": _("Accounting journal entries."), |
| 45 | "onboard": 1, |
| 46 | }, |
| 47 | { |
| 48 | "type": "doctype", |
| 49 | "name": "Opening Invoice Creation Tool", |
| 50 | "description": _("Create Opening Sales and Purchase Invoices") |
| 51 | }, |
| 52 | ] |
| 53 | }, |
| 54 | { |
| 55 | "label": _("Selling"), |
| 56 | "items": [ |
| 57 | { |
| 58 | "type": "doctype", |
| 59 | "name": "Customer", |
| 60 | "description": _("Customer database."), |
| 61 | "onboard": 1, |
| 62 | }, |
| 63 | { |
| 64 | "type": "doctype", |
| 65 | "name": "Quotation", |
| 66 | "description": _("Quotes to Leads or Customers."), |
| 67 | "onboard": 1, |
| 68 | "dependencies": ["Item", "Customer"], |
| 69 | }, |
| 70 | { |
| 71 | "type": "doctype", |
| 72 | "name": "Sales Order", |
| 73 | "description": _("Confirmed orders from Customers."), |
| 74 | "onboard": 1, |
| 75 | "dependencies": ["Item", "Customer"], |
| 76 | }, |
| 77 | { |
| 78 | "type": "doctype", |
| 79 | "name": "Sales Partner", |
| 80 | "description": _("Manage Sales Partners."), |
| 81 | "dependencies": ["Item"], |
| 82 | }, |
| 83 | { |
| 84 | "type": "doctype", |
| 85 | "name": "Selling Settings", |
| 86 | "description": _("Default settings for selling transactions."), |
| 87 | "onboard": 1, |
| 88 | }, |
| 89 | { |
| 90 | "type": "doctype", |
| 91 | "name":"Terms and Conditions", |
| 92 | "label": _("Terms and Conditions Template"), |
| 93 | "description": _("Template of terms or contract."), |
| 94 | "onboard": 1, |
| 95 | }, |
| 96 | ] |
| 97 | }, |
| 98 | { |
| 99 | "label": _("Buying"), |
| 100 | "items": [ |
| 101 | { |
| 102 | "type": "doctype", |
| 103 | "name": "Purchase Order", |
| 104 | "onboard": 1, |
| 105 | "dependencies": ["Item", "Supplier"], |
| 106 | "description": _("Purchase Orders given to Suppliers."), |
| 107 | }, |
| 108 | { |
| 109 | "type": "doctype", |
| 110 | "name": "Material Request", |
| 111 | "onboard": 1, |
| 112 | "dependencies": ["Item"], |
| 113 | "description": _("Request for purchase."), |
| 114 | }, |
| 115 | { |
| 116 | "type": "doctype", |
| 117 | "name": "Request for Quotation", |
| 118 | "onboard": 1, |
| 119 | "dependencies": ["Item", "Supplier"], |
| 120 | "description": _("Request for quotation."), |
| 121 | }, |
| 122 | { |
| 123 | "type": "doctype", |
| 124 | "name": "Supplier Quotation", |
| 125 | "dependencies": ["Item", "Supplier"], |
| 126 | "description": _("Quotations received from Suppliers."), |
| 127 | }, |
| 128 | { |
| 129 | "type": "doctype", |
| 130 | "name": "Buying Settings", |
| 131 | "onboard": 1, |
| 132 | "description": _("Default settings for buying transactions.") |
| 133 | }, |
| 134 | { |
| 135 | "type": "doctype", |
| 136 | "name": "Purchase Taxes and Charges Template", |
| 137 | "description": _("Tax template for buying transactions.") |
| 138 | }, |
| 139 | { |
| 140 | "type": "doctype", |
| 141 | "name":"Terms and Conditions", |
| 142 | "label": _("Terms and Conditions Template"), |
| 143 | "description": _("Template of terms or contract.") |
| 144 | }, |
| 145 | ] |
| 146 | }, |
| 147 | { |
| 148 | "label": _("Stock"), |
| 149 | "items": [ |
| 150 | { |
| 151 | "type": "doctype", |
| 152 | "name": "Stock Entry", |
| 153 | "onboard": 1, |
| 154 | "dependencies": ["Item"], |
| 155 | }, |
| 156 | { |
| 157 | "type": "doctype", |
| 158 | "name": "Delivery Note", |
| 159 | "onboard": 1, |
| 160 | "dependencies": ["Item", "Customer"], |
| 161 | }, |
| 162 | { |
| 163 | "type": "doctype", |
| 164 | "name": "Purchase Receipt", |
| 165 | "onboard": 1, |
| 166 | "dependencies": ["Item", "Supplier"], |
| 167 | }, |
| 168 | { |
| 169 | "type": "doctype", |
| 170 | "name": "Material Request", |
| 171 | "onboard": 1, |
| 172 | "dependencies": ["Item"], |
| 173 | }, |
| 174 | { |
| 175 | "type": "doctype", |
| 176 | "name": "Delivery Trip" |
| 177 | }, |
| 178 | ] |
| 179 | }, |
| 180 | { |
| 181 | "label": _("Assets"), |
| 182 | "items": [ |
| 183 | { |
| 184 | "type": "doctype", |
| 185 | "name": "Asset", |
| 186 | "onboard": 1, |
| 187 | }, |
| 188 | { |
| 189 | "type": "doctype", |
| 190 | "name": "Location", |
| 191 | "onboard": 1, |
| 192 | }, |
| 193 | { |
| 194 | "type": "doctype", |
| 195 | "name": "Asset Category", |
| 196 | "onboard": 1, |
| 197 | }, |
| 198 | { |
| 199 | "type": "doctype", |
| 200 | "name": "Asset Settings", |
| 201 | }, |
| 202 | { |
| 203 | "type": "doctype", |
| 204 | "name": "Asset Movement", |
| 205 | "description": _("Transfer an asset from one warehouse to another") |
| 206 | }, |
| 207 | ] |
| 208 | }, |
| 209 | { |
| 210 | "label": _("Projects"), |
| 211 | "items": [ |
| 212 | { |
| 213 | "type": "doctype", |
| 214 | "name": "Project", |
| 215 | "description": _("Project master."), |
| 216 | "onboard": 1, |
| 217 | }, |
| 218 | { |
| 219 | "type": "doctype", |
| 220 | "name": "Task", |
| 221 | "route": "List/Task", |
| 222 | "description": _("Project activity / task."), |
| 223 | "onboard": 1, |
| 224 | }, |
| 225 | { |
| 226 | "type": "report", |
| 227 | "route": "List/Task/Gantt", |
| 228 | "doctype": "Task", |
| 229 | "name": "Gantt Chart", |
| 230 | "description": _("Gantt chart of all tasks."), |
| 231 | "onboard": 1, |
| 232 | }, |
| 233 | { |
| 234 | "type": "doctype", |
| 235 | "name": "Project Update", |
| 236 | "description": _("Project Update."), |
| 237 | "dependencies": ["Project"], |
| 238 | }, |
| 239 | { |
| 240 | "type": "doctype", |
| 241 | "name": "Timesheet", |
| 242 | "description": _("Timesheet for tasks."), |
| 243 | "onboard": 1, |
| 244 | }, |
| 245 | ] |
| 246 | }, |
| 247 | { |
| 248 | "label": _("CRM"), |
| 249 | "items": [ |
| 250 | { |
| 251 | "type": "doctype", |
| 252 | "name": "Lead", |
| 253 | "description": _("Database of potential customers."), |
| 254 | "onboard": 1, |
| 255 | }, |
| 256 | { |
| 257 | "type": "doctype", |
| 258 | "name": "Opportunity", |
| 259 | "description": _("Potential opportunities for selling."), |
| 260 | "onboard": 1, |
| 261 | }, |
| 262 | { |
| 263 | "type": "doctype", |
| 264 | "name": "Customer", |
| 265 | "description": _("Customer database."), |
| 266 | "onboard": 1, |
| 267 | }, |
| 268 | { |
| 269 | "type": "doctype", |
| 270 | "name": "Contact", |
| 271 | "description": _("All Contacts."), |
| 272 | "onboard": 1, |
| 273 | }, |
| 274 | { |
| 275 | "type": "doctype", |
| 276 | "label": _("Customer Group"), |
| 277 | "name": "Customer Group", |
| 278 | "icon": "fa fa-sitemap", |
| 279 | "link": "Tree/Customer Group", |
| 280 | "description": _("Manage Customer Group Tree."), |
| 281 | "onboard": 1, |
| 282 | }, |
| 283 | { |
| 284 | "type": "doctype", |
| 285 | "label": _("Territory"), |
| 286 | "name": "Territory", |
| 287 | "icon": "fa fa-sitemap", |
| 288 | "link": "Tree/Territory", |
| 289 | "description": _("Manage Territory Tree."), |
| 290 | "onboard": 1, |
| 291 | }, |
| 292 | { |
| 293 | "type": "doctype", |
| 294 | "label": _("Sales Person"), |
| 295 | "name": "Sales Person", |
| 296 | "icon": "fa fa-sitemap", |
| 297 | "link": "Tree/Sales Person", |
| 298 | "description": _("Manage Sales Person Tree."), |
| 299 | "onboard": 1, |
| 300 | }, |
| 301 | ] |
| 302 | }, |
| 303 | { |
| 304 | "label": _("Help Desk"), |
| 305 | "items": [ |
| 306 | { |
| 307 | "type": "doctype", |
| 308 | "name": "Issue", |
| 309 | "description": _("Support queries from customers."), |
| 310 | "onboard": 1, |
| 311 | }, |
| 312 | { |
| 313 | "type": "doctype", |
| 314 | "name": "Communication", |
| 315 | "description": _("Communication log."), |
| 316 | "onboard": 1, |
| 317 | }, |
| 318 | { |
| 319 | "type": "page", |
| 320 | "name": "support-analytics", |
| 321 | "label": _("Support Analytics"), |
| 322 | "icon": "fa fa-bar-chart" |
| 323 | }, |
| 324 | { |
| 325 | "type": "report", |
| 326 | "name": "Minutes to First Response for Issues", |
| 327 | "doctype": "Issue", |
| 328 | "is_query_report": True |
| 329 | }, |
| 330 | { |
| 331 | "type": "report", |
| 332 | "name": "Support Hours", |
| 333 | "doctype": "Issue", |
| 334 | "is_query_report": True |
| 335 | }, |
| 336 | ] |
| 337 | }, |
| 338 | { |
| 339 | "label": _("Human Resources"), |
| 340 | "items": [ |
| 341 | { |
| 342 | "type": "doctype", |
| 343 | "name": "Employee", |
| 344 | "onboard": 1, |
| 345 | }, |
| 346 | { |
| 347 | "type": "doctype", |
| 348 | "name": "Employee Attendance Tool", |
| 349 | "hide_count": True, |
| 350 | "onboard": 1, |
| 351 | "dependencies": ["Employee"] |
| 352 | }, |
| 353 | { |
| 354 | "type": "doctype", |
| 355 | "name": "Attendance", |
| 356 | "onboard": 1, |
| 357 | "dependencies": ["Employee"] |
| 358 | }, |
| 359 | { |
| 360 | "type": "doctype", |
| 361 | "name": "Salary Structure", |
| 362 | "onboard": 1, |
| 363 | }, |
| 364 | { |
| 365 | "type": "doctype", |
| 366 | "name": "Salary Structure Assignment", |
| 367 | "onboard": 1, |
| 368 | "dependencies": ["Salary Structure", "Employee"], |
| 369 | }, |
| 370 | { |
| 371 | "type": "doctype", |
| 372 | "name": "Salary Slip", |
| 373 | "onboard": 1, |
| 374 | }, |
| 375 | { |
| 376 | "type": "doctype", |
| 377 | "name": "Payroll Entry", |
| 378 | "onboard": 1, |
| 379 | }, |
| 380 | ] |
| 381 | }, |
| 382 | { |
| 383 | "label": _("Quality"), |
| 384 | "items": [ |
| 385 | { |
| 386 | "type": "doctype", |
| 387 | "name": "Quality Goal", |
| 388 | "description":_("Quality Goal."), |
| 389 | "onboard": 1, |
| 390 | }, |
| 391 | { |
| 392 | "type": "doctype", |
| 393 | "name": "Quality Procedure", |
| 394 | "description":_("Quality Procedure."), |
| 395 | "onboard": 1, |
| 396 | }, |
| 397 | { |
| 398 | "type": "doctype", |
| 399 | "name": "Quality Procedure", |
| 400 | "icon": "fa fa-sitemap", |
| 401 | "label": _("Tree of Procedures"), |
| 402 | "route": "Tree/Quality Procedure", |
| 403 | "description": _("Tree of Quality Procedures."), |
| 404 | }, |
| 405 | { |
| 406 | "type": "doctype", |
| 407 | "name": "Quality Review", |
| 408 | "description":_("Quality Review"), |
| 409 | "onboard": 1, |
| 410 | }, |
| 411 | { |
| 412 | "type": "doctype", |
| 413 | "name": "Quality Action", |
| 414 | "description":_("Quality Action"), |
| 415 | } |
| 416 | ] |
| 417 | }, |
| 418 | { |
| 419 | "label": _("Manufacturing"), |
| 420 | "items": [ |
| 421 | { |
| 422 | "type": "doctype", |
| 423 | "name": "Work Order", |
| 424 | "description": _("Orders released for production."), |
| 425 | "onboard": 1, |
| 426 | "dependencies": ["Item", "BOM"] |
| 427 | }, |
| 428 | { |
| 429 | "type": "doctype", |
| 430 | "name": "Production Plan", |
| 431 | "description": _("Generate Material Requests (MRP) and Work Orders."), |
| 432 | "onboard": 1, |
| 433 | "dependencies": ["Item", "BOM"] |
| 434 | }, |
| 435 | { |
| 436 | "type": "doctype", |
| 437 | "name": "Stock Entry", |
| 438 | "onboard": 1, |
| 439 | "dependencies": ["Item"] |
| 440 | }, |
| 441 | { |
| 442 | "type": "doctype", |
| 443 | "name": "Timesheet", |
| 444 | "description": _("Time Sheet for manufacturing."), |
| 445 | "onboard": 1, |
| 446 | "dependencies": ["Activity Type"] |
| 447 | }, |
| 448 | { |
| 449 | "type": "doctype", |
| 450 | "name": "Job Card" |
| 451 | }, |
| 452 | { |
| 453 | "type": "doctype", |
| 454 | "name": "Item", |
| 455 | "description": _("All Products or Services."), |
| 456 | "onboard": 1, |
| 457 | }, |
| 458 | { |
| 459 | "type": "doctype", |
| 460 | "name": "BOM", |
| 461 | "description": _("Bill of Materials (BOM)"), |
| 462 | "label": _("Bill of Materials"), |
| 463 | "onboard": 1, |
| 464 | "dependencies": ["Item"] |
| 465 | }, |
| 466 | ] |
| 467 | }, |
| 468 | { |
| 469 | "label": _("Retail"), |
| 470 | "items": [ |
| 471 | { |
| 472 | "type": "doctype", |
| 473 | "name": "POS Profile", |
| 474 | "label": _("Point-of-Sale Profile"), |
| 475 | "description": _("Setup default values for POS Invoices"), |
| 476 | "onboard": 1, |
| 477 | }, |
| 478 | { |
| 479 | "type": "page", |
| 480 | "name": "pos", |
| 481 | "label": _("POS"), |
| 482 | "description": _("Point of Sale"), |
| 483 | "onboard": 1, |
| 484 | "dependencies": ["POS Profile"] |
| 485 | }, |
| 486 | { |
| 487 | "type": "doctype", |
| 488 | "name": "Cashier Closing", |
| 489 | "description": _("Cashier Closing"), |
| 490 | "onboard": 1, |
| 491 | }, |
| 492 | { |
| 493 | "type": "doctype", |
| 494 | "name": "POS Settings", |
| 495 | "description": _("Setup mode of POS (Online / Offline)"), |
| 496 | "onboard": 1, |
| 497 | }, |
| 498 | { |
| 499 | "type": "doctype", |
| 500 | "name": "Loyalty Program", |
| 501 | "label": _("Loyalty Program"), |
| 502 | "description": _("To make Customer based incentive schemes.") |
| 503 | }, |
| 504 | { |
| 505 | "type": "doctype", |
| 506 | "name": "Loyalty Point Entry", |
| 507 | "label": _("Loyalty Point Entry"), |
| 508 | "description": _("To view logs of Loyalty Points assigned to a Customer.") |
| 509 | } |
| 510 | ] |
| 511 | }, |
| 512 | { |
| 513 | "label": _("Education"), |
| 514 | "items": [ |
| 515 | { |
| 516 | "type": "doctype", |
| 517 | "name": "Student", |
| 518 | "onboard": 1, |
| 519 | }, |
| 520 | { |
| 521 | "type": "doctype", |
| 522 | "name": "Guardian", |
| 523 | "onboard": 1, |
| 524 | }, |
| 525 | { |
| 526 | "type": "doctype", |
| 527 | "name": "Student Group", |
| 528 | "onboard": 1, |
| 529 | }, |
| 530 | { |
| 531 | "type": "doctype", |
| 532 | "name": "Student Attendance", |
| 533 | "onboard": 1, |
| 534 | }, |
| 535 | { |
| 536 | "type": "doctype", |
| 537 | "name": "Fees", |
| 538 | "onboard": 1, |
| 539 | }, |
| 540 | { |
| 541 | "type": "doctype", |
| 542 | "name": "Program Enrollment Tool" |
| 543 | }, |
| 544 | { |
| 545 | "type": "doctype", |
| 546 | "name": "Course Scheduling Tool" |
| 547 | }, |
| 548 | { |
| 549 | "type": "doctype", |
| 550 | "name": "Fee Schedule" |
| 551 | }, |
| 552 | ] |
| 553 | }, |
| 554 | { |
| 555 | "label": _("Healthcare"), |
| 556 | "items": [ |
| 557 | { |
| 558 | "type": "doctype", |
| 559 | "name": "Patient Appointment", |
| 560 | "label": _("Patient Appointment"), |
| 561 | "onboard": 1, |
| 562 | }, |
| 563 | { |
| 564 | "type": "doctype", |
| 565 | "name": "Patient Encounter", |
| 566 | "label": _("Patient Encounter"), |
| 567 | "onboard": 1, |
| 568 | }, |
| 569 | { |
| 570 | "type": "doctype", |
| 571 | "name": "Vital Signs", |
| 572 | "label": _("Vital Signs"), |
| 573 | "description": _("Record Patient Vitals"), |
| 574 | "onboard": 1, |
| 575 | }, |
| 576 | { |
| 577 | "type": "page", |
| 578 | "name": "medical_record", |
| 579 | "label": _("Patient Medical Record"), |
| 580 | "onboard": 1, |
| 581 | }, |
| 582 | { |
| 583 | "type": "page", |
| 584 | "name": "appointment-analytic", |
| 585 | "label": _("Appointment Analytics"), |
| 586 | "onboard": 1, |
| 587 | }, |
| 588 | { |
| 589 | "type": "doctype", |
| 590 | "name": "Clinical Procedure", |
| 591 | "label": _("Clinical Procedure"), |
| 592 | }, |
| 593 | { |
| 594 | "type": "doctype", |
| 595 | "name": "Inpatient Record", |
| 596 | "label": _("Inpatient Record"), |
| 597 | } |
| 598 | ] |
| 599 | }, |
| 600 | { |
| 601 | "label": _("Agriculture"), |
| 602 | "items": [ |
| 603 | { |
| 604 | "type": "doctype", |
| 605 | "name": "Crop", |
| 606 | "onboard": 1, |
| 607 | }, |
| 608 | { |
| 609 | "type": "doctype", |
| 610 | "name": "Crop Cycle", |
| 611 | "onboard": 1, |
| 612 | }, |
| 613 | { |
| 614 | "type": "doctype", |
| 615 | "name": "Location", |
| 616 | "onboard": 1, |
| 617 | }, |
| 618 | { |
| 619 | "type": "doctype", |
| 620 | "name": "Disease", |
| 621 | "onboard": 1, |
| 622 | }, |
| 623 | { |
| 624 | "type": "doctype", |
| 625 | "name": "Fertilizer", |
| 626 | "onboard": 1, |
| 627 | } |
| 628 | ] |
| 629 | }, |
| 630 | { |
| 631 | "label": _("Non Profit"), |
| 632 | "items": [ |
| 633 | { |
| 634 | "type": "doctype", |
| 635 | "name": "Member", |
| 636 | "description": _("Member information."), |
| 637 | "onboard": 1, |
| 638 | }, |
| 639 | { |
| 640 | "type": "doctype", |
| 641 | "name": "Volunteer", |
| 642 | "description": _("Volunteer information."), |
| 643 | "onboard": 1, |
| 644 | }, |
| 645 | { |
| 646 | "type": "doctype", |
| 647 | "name": "Chapter", |
| 648 | "description": _("Chapter information."), |
| 649 | "onboard": 1, |
| 650 | }, |
| 651 | { |
| 652 | "type": "doctype", |
| 653 | "name": "Donor", |
| 654 | "description": _("Donor information."), |
| 655 | "onboard": 1, |
| 656 | }, |
| 657 | ] |
| 658 | } |
| 659 | ] |