Anand Doshi | d57e793 | 2015-02-24 12:24:53 +0530 | [diff] [blame] | 1 | from __future__ import unicode_literals |
Rushabh Mehta | 156ce60 | 2015-09-11 18:49:59 +0530 | [diff] [blame] | 2 | from frappe import _ |
| 3 | |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 4 | app_name = "erpnext" |
| 5 | app_title = "ERPNext" |
Rushabh Mehta | ba02ce6 | 2015-07-22 15:07:25 +0530 | [diff] [blame] | 6 | app_publisher = "Frappe Technologies Pvt. Ltd." |
Rushabh Mehta | edc8ab0 | 2015-11-18 16:48:19 +0530 | [diff] [blame] | 7 | app_description = """ERP made simple""" |
Rushabh Mehta | 2167ff5 | 2016-12-07 11:08:48 +0530 | [diff] [blame] | 8 | app_icon = "fa fa-th" |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 9 | app_color = "#e74c3c" |
Nabin Hait | 7ba4d02 | 2015-11-05 16:55:10 +0530 | [diff] [blame] | 10 | app_email = "info@erpnext.com" |
| 11 | app_license = "GNU General Public License (v3)" |
Rushabh Mehta | 7d23e42 | 2015-11-02 10:45:18 +0530 | [diff] [blame] | 12 | source_link = "https://github.com/frappe/erpnext" |
Faris Ansari | 4a1c7dd | 2019-06-19 19:15:37 +0530 | [diff] [blame] | 13 | app_logo_url = '/assets/erpnext/images/erp-icon.svg' |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 14 | |
scmmishra | 734d3e0 | 2018-11-03 18:03:35 +0530 | [diff] [blame] | 15 | |
Ameya Shenoy | 49647bf | 2018-11-08 12:48:35 +0530 | [diff] [blame] | 16 | develop_version = '12.x.x-develop' |
Rushabh Mehta | db206f2 | 2017-03-10 09:38:58 +0530 | [diff] [blame] | 17 | |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 18 | app_include_js = "assets/js/erpnext.min.js" |
| 19 | app_include_css = "assets/css/erpnext.css" |
| 20 | web_include_js = "assets/js/erpnext-web.min.js" |
Solufyin | 3be899c | 2018-08-07 18:28:39 +0530 | [diff] [blame] | 21 | web_include_css = "assets/css/erpnext-web.css" |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 22 | |
mbauskar | f54b104 | 2017-03-13 16:32:46 +0530 | [diff] [blame] | 23 | doctype_js = { |
| 24 | "Communication": "public/js/communication.js", |
Faris Ansari | 5f8b358 | 2019-03-19 11:48:32 +0530 | [diff] [blame] | 25 | "Event": "public/js/event.js", |
Faris Ansari | 1e55c2e | 2019-04-30 10:18:09 +0530 | [diff] [blame] | 26 | "Website Theme": "public/js/website_theme.js", |
| 27 | "Newsletter": "public/js/newsletter.js" |
mbauskar | f54b104 | 2017-03-13 16:32:46 +0530 | [diff] [blame] | 28 | } |
| 29 | |
Neil Trini Lasrado | 771fbb8 | 2018-08-24 15:15:56 +0530 | [diff] [blame] | 30 | welcome_email = "erpnext.setup.utils.welcome_email" |
| 31 | |
Rushabh Mehta | 37b4d75 | 2015-11-09 16:53:11 +0530 | [diff] [blame] | 32 | # setup wizard |
| 33 | setup_wizard_requires = "assets/erpnext/js/setup_wizard.js" |
Prateeksha Singh | 8b0b56d | 2017-12-21 11:55:58 +0530 | [diff] [blame] | 34 | setup_wizard_stages = "erpnext.setup.setup_wizard.setup_wizard.get_setup_stages" |
Prateeksha Singh | 95d8fd3 | 2017-09-04 11:14:04 +0530 | [diff] [blame] | 35 | setup_wizard_test = "erpnext.setup.setup_wizard.test_setup_wizard.run_setup_wizard_test" |
Rushabh Mehta | 37b4d75 | 2015-11-09 16:53:11 +0530 | [diff] [blame] | 36 | |
Rushabh Mehta | d55bdcf | 2015-12-31 11:12:48 +0530 | [diff] [blame] | 37 | before_install = "erpnext.setup.install.check_setup_wizard_not_completed" |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 38 | after_install = "erpnext.setup.install.after_install" |
| 39 | |
| 40 | boot_session = "erpnext.startup.boot.boot_session" |
| 41 | notification_config = "erpnext.startup.notifications.get_notification_config" |
Rushabh Mehta | 05ce7ec | 2017-02-22 16:15:43 +0530 | [diff] [blame] | 42 | get_help_messages = "erpnext.utilities.activation.get_help_messages" |
Prateeksha Singh | 95d8fd3 | 2017-09-04 11:14:04 +0530 | [diff] [blame] | 43 | get_user_progress_slides = "erpnext.utilities.user_progress.get_user_progress_slides" |
| 44 | update_and_get_user_progress = "erpnext.utilities.user_progress_utils.update_default_domain_actions_and_get_state" |
prssanna | 3f1444e | 2019-09-24 13:04:53 +0530 | [diff] [blame] | 45 | leaderboards = "erpnext.startup.leaderboard.get_leaderboards" |
| 46 | |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 47 | |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 48 | on_session_creation = [ |
| 49 | "erpnext.portal.utils.create_customer_or_supplier", |
| 50 | "erpnext.shopping_cart.utils.set_cart_count" |
| 51 | ] |
Rushabh Mehta | 3daa49a | 2014-10-21 16:16:30 +0530 | [diff] [blame] | 52 | on_logout = "erpnext.shopping_cart.utils.clear_cart_count" |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 53 | |
Mangesh-Khairnar | 07aae76 | 2019-06-26 11:03:57 +0530 | [diff] [blame] | 54 | treeviews = ['Account', 'Cost Center', 'Warehouse', 'Item Group', 'Customer Group', 'Sales Person', 'Territory', 'Assessment Group', 'Department'] |
Rushabh Mehta | 764aa92 | 2016-05-02 13:28:46 +0530 | [diff] [blame] | 55 | |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 56 | # website |
Shivam Mishra | 51b6fe2 | 2019-05-14 10:22:15 +0530 | [diff] [blame] | 57 | update_website_context = ["erpnext.shopping_cart.utils.update_website_context", "erpnext.education.doctype.education_settings.education_settings.update_website_context"] |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 58 | my_account_context = "erpnext.shopping_cart.utils.update_my_account_context" |
Rushabh Mehta | 621d6ea | 2015-07-08 12:39:27 +0530 | [diff] [blame] | 59 | |
Makarand Bauskar | 1b67d71 | 2017-10-04 15:55:56 +0530 | [diff] [blame] | 60 | email_append_to = ["Job Applicant", "Lead", "Opportunity", "Issue"] |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 61 | |
Zarrar | 13ddc7e | 2018-03-20 12:38:43 +0530 | [diff] [blame] | 62 | calendars = ["Task", "Work Order", "Leave Application", "Sales Order", "Holiday List", "Course Schedule"] |
Rushabh Mehta | 621d6ea | 2015-07-08 12:39:27 +0530 | [diff] [blame] | 63 | |
hiousi | d81e9f3 | 2017-11-17 07:12:24 +0100 | [diff] [blame] | 64 | |
Kanchan Chauhan | 1f3d5b7 | 2016-03-01 11:33:49 +0530 | [diff] [blame] | 65 | |
Rushabh Mehta | bc4e2cd | 2017-10-17 12:30:34 +0530 | [diff] [blame] | 66 | domains = { |
Ameya Shenoy | 5c62368 | 2017-12-06 18:36:27 +0530 | [diff] [blame] | 67 | 'Agriculture': 'erpnext.domains.agriculture', |
Rushabh Mehta | bc4e2cd | 2017-10-17 12:30:34 +0530 | [diff] [blame] | 68 | 'Distribution': 'erpnext.domains.distribution', |
| 69 | 'Education': 'erpnext.domains.education', |
| 70 | 'Healthcare': 'erpnext.domains.healthcare', |
| 71 | 'Hospitality': 'erpnext.domains.hospitality', |
| 72 | 'Manufacturing': 'erpnext.domains.manufacturing', |
Zarrar | de8f612 | 2017-12-13 18:36:08 +0530 | [diff] [blame] | 73 | 'Non Profit': 'erpnext.domains.non_profit', |
Rushabh Mehta | bc4e2cd | 2017-10-17 12:30:34 +0530 | [diff] [blame] | 74 | 'Retail': 'erpnext.domains.retail', |
| 75 | 'Services': 'erpnext.domains.services', |
| 76 | } |
| 77 | |
Rushabh Mehta | dbb5154 | 2017-08-10 21:06:09 +0530 | [diff] [blame] | 78 | website_generators = ["Item Group", "Item", "BOM", "Sales Partner", |
| 79 | "Job Opening", "Student Admission"] |
Rushabh Mehta | 621d6ea | 2015-07-08 12:39:27 +0530 | [diff] [blame] | 80 | |
Rushabh Mehta | 2e7c36e | 2015-04-16 12:41:42 +0530 | [diff] [blame] | 81 | website_context = { |
Rushabh Mehta | 5674c4f | 2015-04-16 15:09:42 +0530 | [diff] [blame] | 82 | "favicon": "/assets/erpnext/images/favicon.png", |
Rushabh Mehta | d40e661 | 2017-01-10 14:46:45 +0530 | [diff] [blame] | 83 | "splash_image": "/assets/erpnext/images/erp-icon.svg" |
Rushabh Mehta | 2e7c36e | 2015-04-16 12:41:42 +0530 | [diff] [blame] | 84 | } |
| 85 | |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 86 | website_route_rules = [ |
| 87 | {"from_route": "/orders", "to_route": "Sales Order"}, |
Rushabh Mehta | 156ce60 | 2015-09-11 18:49:59 +0530 | [diff] [blame] | 88 | {"from_route": "/orders/<path:name>", "to_route": "order", |
| 89 | "defaults": { |
| 90 | "doctype": "Sales Order", |
Britlog | 4c7709e | 2017-07-28 15:24:22 +0200 | [diff] [blame] | 91 | "parents": [{"label": _("Orders"), "route": "orders"}] |
Rushabh Mehta | 156ce60 | 2015-09-11 18:49:59 +0530 | [diff] [blame] | 92 | } |
| 93 | }, |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 94 | {"from_route": "/invoices", "to_route": "Sales Invoice"}, |
Rushabh Mehta | 156ce60 | 2015-09-11 18:49:59 +0530 | [diff] [blame] | 95 | {"from_route": "/invoices/<path:name>", "to_route": "order", |
| 96 | "defaults": { |
| 97 | "doctype": "Sales Invoice", |
Britlog | 4c7709e | 2017-07-28 15:24:22 +0200 | [diff] [blame] | 98 | "parents": [{"label": _("Invoices"), "route": "invoices"}] |
Rushabh Mehta | 156ce60 | 2015-09-11 18:49:59 +0530 | [diff] [blame] | 99 | } |
| 100 | }, |
Makarand Bauskar | 9306aff | 2017-07-21 15:19:47 +0530 | [diff] [blame] | 101 | {"from_route": "/supplier-quotations", "to_route": "Supplier Quotation"}, |
| 102 | {"from_route": "/supplier-quotations/<path:name>", "to_route": "order", |
Rohit Waghchaure | 21499e8 | 2016-09-21 16:49:58 +0530 | [diff] [blame] | 103 | "defaults": { |
| 104 | "doctype": "Supplier Quotation", |
Brown-Harry Boma | d3fa191 | 2017-09-27 08:23:38 +0100 | [diff] [blame] | 105 | "parents": [{"label": _("Supplier Quotation"), "route": "supplier-quotations"}] |
Rohit Waghchaure | 21499e8 | 2016-09-21 16:49:58 +0530 | [diff] [blame] | 106 | } |
| 107 | }, |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 108 | {"from_route": "/purchase-orders", "to_route": "Purchase Order"}, |
| 109 | {"from_route": "/purchase-orders/<path:name>", "to_route": "order", |
| 110 | "defaults": { |
| 111 | "doctype": "Purchase Order", |
| 112 | "parents": [{"label": _("Purchase Order"), "route": "purchase-orders"}] |
| 113 | } |
| 114 | }, |
| 115 | {"from_route": "/purchase-invoices", "to_route": "Purchase Invoice"}, |
| 116 | {"from_route": "/purchase-invoices/<path:name>", "to_route": "order", |
| 117 | "defaults": { |
| 118 | "doctype": "Purchase Invoice", |
| 119 | "parents": [{"label": _("Purchase Invoice"), "route": "purchase-invoices"}] |
| 120 | } |
| 121 | }, |
Makarand Bauskar | 9306aff | 2017-07-21 15:19:47 +0530 | [diff] [blame] | 122 | {"from_route": "/quotations", "to_route": "Quotation"}, |
| 123 | {"from_route": "/quotations/<path:name>", "to_route": "order", |
| 124 | "defaults": { |
| 125 | "doctype": "Quotation", |
Rushabh Mehta | dbb5154 | 2017-08-10 21:06:09 +0530 | [diff] [blame] | 126 | "parents": [{"label": _("Quotations"), "route": "quotations"}] |
Makarand Bauskar | 9306aff | 2017-07-21 15:19:47 +0530 | [diff] [blame] | 127 | } |
| 128 | }, |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 129 | {"from_route": "/shipments", "to_route": "Delivery Note"}, |
Rushabh Mehta | 156ce60 | 2015-09-11 18:49:59 +0530 | [diff] [blame] | 130 | {"from_route": "/shipments/<path:name>", "to_route": "order", |
| 131 | "defaults": { |
Anand Doshi | 4b12740 | 2015-11-26 18:22:03 +0530 | [diff] [blame] | 132 | "doctype": "Delivery Note", |
Britlog | 4c7709e | 2017-07-28 15:24:22 +0200 | [diff] [blame] | 133 | "parents": [{"label": _("Shipments"), "route": "shipments"}] |
Rushabh Mehta | 156ce60 | 2015-09-11 18:49:59 +0530 | [diff] [blame] | 134 | } |
Kanchan Chauhan | 2e8cc89 | 2016-02-19 17:27:23 +0530 | [diff] [blame] | 135 | }, |
rohitwaghchaure | a1064a6 | 2016-03-03 14:00:35 +0530 | [diff] [blame] | 136 | {"from_route": "/rfq", "to_route": "Request for Quotation"}, |
| 137 | {"from_route": "/rfq/<path:name>", "to_route": "rfq", |
| 138 | "defaults": { |
| 139 | "doctype": "Request for Quotation", |
Britlog | 4c7709e | 2017-07-28 15:24:22 +0200 | [diff] [blame] | 140 | "parents": [{"label": _("Request for Quotation"), "route": "rfq"}] |
rohitwaghchaure | a1064a6 | 2016-03-03 14:00:35 +0530 | [diff] [blame] | 141 | } |
| 142 | }, |
Kanchan Chauhan | 1605ff0 | 2016-07-04 14:28:09 +0530 | [diff] [blame] | 143 | {"from_route": "/addresses", "to_route": "Address"}, |
| 144 | {"from_route": "/addresses/<path:name>", "to_route": "addresses", |
| 145 | "defaults": { |
| 146 | "doctype": "Address", |
Britlog | 4c7709e | 2017-07-28 15:24:22 +0200 | [diff] [blame] | 147 | "parents": [{"label": _("Addresses"), "route": "addresses"}] |
Kanchan Chauhan | 1605ff0 | 2016-07-04 14:28:09 +0530 | [diff] [blame] | 148 | } |
| 149 | }, |
Kanchan Chauhan | 2e8cc89 | 2016-02-19 17:27:23 +0530 | [diff] [blame] | 150 | {"from_route": "/jobs", "to_route": "Job Opening"}, |
Neil Trini Lasrado | 83d8120 | 2016-09-15 14:48:13 +0530 | [diff] [blame] | 151 | {"from_route": "/admissions", "to_route": "Student Admission"}, |
Vishal Dhayagude | edb2749 | 2017-07-25 10:53:12 +0530 | [diff] [blame] | 152 | {"from_route": "/boms", "to_route": "BOM"}, |
| 153 | {"from_route": "/timesheets", "to_route": "Timesheet"}, |
Doridel Cahanap | 2b14d6a | 2018-11-13 14:37:16 +0800 | [diff] [blame] | 154 | {"from_route": "/material-requests", "to_route": "Material Request"}, |
| 155 | {"from_route": "/material-requests/<path:name>", "to_route": "material_request_info", |
| 156 | "defaults": { |
| 157 | "doctype": "Material Request", |
| 158 | "parents": [{"label": _("Material Request"), "route": "material-requests"}] |
| 159 | } |
| 160 | }, |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 161 | ] |
| 162 | |
Rushabh Mehta | b9cdb05 | 2017-03-08 12:33:43 +0530 | [diff] [blame] | 163 | standard_portal_menu_items = [ |
Jamsheer | f926911 | 2018-07-16 18:08:53 +0530 | [diff] [blame] | 164 | {"title": _("Personal Details"), "route": "/personal-details", "reference_doctype": "Patient", "role": "Patient"}, |
Rushabh Mehta | 0c76f21 | 2016-04-01 11:53:50 +0530 | [diff] [blame] | 165 | {"title": _("Projects"), "route": "/project", "reference_doctype": "Project"}, |
Rushabh Mehta | fc800b3 | 2016-09-23 21:51:51 +0530 | [diff] [blame] | 166 | {"title": _("Request for Quotations"), "route": "/rfq", "reference_doctype": "Request for Quotation", "role": "Supplier"}, |
Makarand Bauskar | 9306aff | 2017-07-21 15:19:47 +0530 | [diff] [blame] | 167 | {"title": _("Supplier Quotation"), "route": "/supplier-quotations", "reference_doctype": "Supplier Quotation", "role": "Supplier"}, |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 168 | {"title": _("Purchase Orders"), "route": "/purchase-orders", "reference_doctype": "Purchase Order", "role": "Supplier"}, |
| 169 | {"title": _("Purchase Invoices"), "route": "/purchase-invoices", "reference_doctype": "Purchase Invoice", "role": "Supplier"}, |
Makarand Bauskar | 9306aff | 2017-07-21 15:19:47 +0530 | [diff] [blame] | 170 | {"title": _("Quotations"), "route": "/quotations", "reference_doctype": "Quotation", "role":"Customer"}, |
Rushabh Mehta | fc800b3 | 2016-09-23 21:51:51 +0530 | [diff] [blame] | 171 | {"title": _("Orders"), "route": "/orders", "reference_doctype": "Sales Order", "role":"Customer"}, |
| 172 | {"title": _("Invoices"), "route": "/invoices", "reference_doctype": "Sales Invoice", "role":"Customer"}, |
| 173 | {"title": _("Shipments"), "route": "/shipments", "reference_doctype": "Delivery Note", "role":"Customer"}, |
| 174 | {"title": _("Issues"), "route": "/issues", "reference_doctype": "Issue", "role":"Customer"}, |
Neil Trini Lasrado | 3f0a581 | 2016-07-19 14:17:33 +0530 | [diff] [blame] | 175 | {"title": _("Addresses"), "route": "/addresses", "reference_doctype": "Address"}, |
Manas Solanki | e716da0 | 2017-09-18 16:00:34 +0530 | [diff] [blame] | 176 | {"title": _("Timesheets"), "route": "/timesheets", "reference_doctype": "Timesheet", "role":"Customer"}, |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 177 | {"title": _("Lab Test"), "route": "/lab-test", "reference_doctype": "Lab Test", "role":"Patient"}, |
Jamsheer | f926911 | 2018-07-16 18:08:53 +0530 | [diff] [blame] | 178 | {"title": _("Prescription"), "route": "/prescription", "reference_doctype": "Patient Encounter", "role":"Patient"}, |
Manas Solanki | e716da0 | 2017-09-18 16:00:34 +0530 | [diff] [blame] | 179 | {"title": _("Patient Appointment"), "route": "/patient-appointments", "reference_doctype": "Patient Appointment", "role":"Patient"}, |
| 180 | {"title": _("Fees"), "route": "/fees", "reference_doctype": "Fees", "role":"Student"}, |
Manas Solanki | 0518001 | 2017-10-05 14:31:31 +0530 | [diff] [blame] | 181 | {"title": _("Newsletter"), "route": "/newsletters", "reference_doctype": "Newsletter"}, |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 182 | {"title": _("Admission"), "route": "/admissions", "reference_doctype": "Student Admission", "role": "Student"}, |
| 183 | {"title": _("Certification"), "route": "/certification", "reference_doctype": "Certification Application", "role": "Non Profit Portal User"}, |
Doridel Cahanap | 2b14d6a | 2018-11-13 14:37:16 +0800 | [diff] [blame] | 184 | {"title": _("Material Request"), "route": "/material-requests", "reference_doctype": "Material Request", "role": "Customer"}, |
Rushabh Mehta | fc800b3 | 2016-09-23 21:51:51 +0530 | [diff] [blame] | 185 | ] |
| 186 | |
| 187 | default_roles = [ |
Rushabh Mehta | 95439db | 2017-01-14 00:25:22 +0530 | [diff] [blame] | 188 | {'role': 'Customer', 'doctype':'Contact', 'email_field': 'email_id'}, |
| 189 | {'role': 'Supplier', 'doctype':'Contact', 'email_field': 'email_id'}, |
Vishal Dhayagude | edb2749 | 2017-07-25 10:53:12 +0530 | [diff] [blame] | 190 | {'role': 'Student', 'doctype':'Student', 'email_field': 'student_email_id'}, |
Rushabh Mehta | c78b311 | 2016-03-30 12:29:48 +0530 | [diff] [blame] | 191 | ] |
| 192 | |
Suraj Shetty | f1ffdb3 | 2019-06-07 12:48:13 +0530 | [diff] [blame] | 193 | sounds = [ |
| 194 | {"name": "incoming-call", "src": "/assets/erpnext/sounds/incoming-call.mp3", "volume": 0.2}, |
| 195 | {"name": "call-disconnect", "src": "/assets/erpnext/sounds/call-disconnect.mp3", "volume": 0.2}, |
| 196 | ] |
| 197 | |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 198 | has_website_permission = { |
| 199 | "Sales Order": "erpnext.controllers.website_list_for_contact.has_website_permission", |
Makarand Bauskar | 9306aff | 2017-07-21 15:19:47 +0530 | [diff] [blame] | 200 | "Quotation": "erpnext.controllers.website_list_for_contact.has_website_permission", |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 201 | "Sales Invoice": "erpnext.controllers.website_list_for_contact.has_website_permission", |
Rohit Waghchaure | 21499e8 | 2016-09-21 16:49:58 +0530 | [diff] [blame] | 202 | "Supplier Quotation": "erpnext.controllers.website_list_for_contact.has_website_permission", |
Faris Ansari | 38ac7f7 | 2019-10-09 11:41:33 +0530 | [diff] [blame] | 203 | "Purchase Order": "erpnext.controllers.website_list_for_contact.has_website_permission", |
| 204 | "Purchase Invoice": "erpnext.controllers.website_list_for_contact.has_website_permission", |
Doridel Cahanap | 2b14d6a | 2018-11-13 14:37:16 +0800 | [diff] [blame] | 205 | "Material Request": "erpnext.controllers.website_list_for_contact.has_website_permission", |
Rushabh Mehta | a33d468 | 2015-06-01 17:15:42 +0530 | [diff] [blame] | 206 | "Delivery Note": "erpnext.controllers.website_list_for_contact.has_website_permission", |
Vishal Dhayagude | edb2749 | 2017-07-25 10:53:12 +0530 | [diff] [blame] | 207 | "Issue": "erpnext.support.doctype.issue.issue.has_website_permission", |
Rushabh Mehta | f056974 | 2017-09-13 12:52:30 +0530 | [diff] [blame] | 208 | "Timesheet": "erpnext.controllers.website_list_for_contact.has_website_permission", |
| 209 | "Lab Test": "erpnext.healthcare.web_form.lab_test.lab_test.has_website_permission", |
Jamsheer | f926911 | 2018-07-16 18:08:53 +0530 | [diff] [blame] | 210 | "Patient Encounter": "erpnext.healthcare.web_form.prescription.prescription.has_website_permission", |
| 211 | "Patient Appointment": "erpnext.healthcare.web_form.patient_appointments.patient_appointments.has_website_permission", |
| 212 | "Patient": "erpnext.healthcare.web_form.personal_details.personal_details.has_website_permission" |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 213 | } |
Rushabh Mehta | 3daa49a | 2014-10-21 16:16:30 +0530 | [diff] [blame] | 214 | |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 215 | dump_report_map = "erpnext.startup.report_data_map.data_map" |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 216 | |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 217 | before_tests = "erpnext.setup.utils.before_tests" |
| 218 | |
Rushabh Mehta | 308e6ea | 2015-03-24 17:34:58 +0530 | [diff] [blame] | 219 | standard_queries = { |
Jamsheer | c0097ad | 2018-11-23 11:37:58 +0530 | [diff] [blame] | 220 | "Customer": "erpnext.selling.doctype.customer.customer.get_customer_list", |
| 221 | "Healthcare Practitioner": "erpnext.healthcare.doctype.healthcare_practitioner.healthcare_practitioner.get_practitioner_list" |
Rushabh Mehta | 308e6ea | 2015-03-24 17:34:58 +0530 | [diff] [blame] | 222 | } |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 223 | |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 224 | doc_events = { |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 225 | "Stock Entry": { |
Nabin Hait | 4acd431 | 2014-11-04 15:32:31 +0530 | [diff] [blame] | 226 | "on_submit": "erpnext.stock.doctype.material_request.material_request.update_completed_and_requested_qty", |
| 227 | "on_cancel": "erpnext.stock.doctype.material_request.material_request.update_completed_and_requested_qty" |
Anand Doshi | 648062d | 2014-05-05 16:46:14 +0530 | [diff] [blame] | 228 | }, |
| 229 | "User": { |
KanchanChauhan | 1dc26b1 | 2017-06-13 15:26:35 +0530 | [diff] [blame] | 230 | "after_insert": "frappe.contacts.doctype.contact.contact.update_contact", |
Anand Doshi | 4985691 | 2014-05-28 18:49:13 +0530 | [diff] [blame] | 231 | "validate": "erpnext.hr.doctype.employee.employee.validate_employee_role", |
Rushabh Mehta | 0d6db6c | 2017-03-31 23:01:45 +0530 | [diff] [blame] | 232 | "on_update": ["erpnext.hr.doctype.employee.employee.update_user_permissions", |
| 233 | "erpnext.portal.utils.set_default_role"] |
Rushabh Mehta | 3daa49a | 2014-10-21 16:16:30 +0530 | [diff] [blame] | 234 | }, |
Rushabh Mehta | f16f9c5 | 2016-04-08 17:20:50 +0530 | [diff] [blame] | 235 | ("Sales Taxes and Charges Template", 'Price List'): { |
Rushabh Mehta | 3daa49a | 2014-10-21 16:16:30 +0530 | [diff] [blame] | 236 | "on_update": "erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.validate_cart_settings" |
| 237 | }, |
Rushabh Mehta | f16f9c5 | 2016-04-08 17:20:50 +0530 | [diff] [blame] | 238 | |
Anand Doshi | e3bd78e | 2016-04-22 18:53:21 +0530 | [diff] [blame] | 239 | "Website Settings": { |
| 240 | "validate": "erpnext.portal.doctype.products_settings.products_settings.home_page_is_products" |
Saurabh | e4e8954 | 2016-07-21 20:26:46 +0530 | [diff] [blame] | 241 | }, |
Charles-Henri Decultot | b8c088e | 2018-02-21 06:37:33 +0100 | [diff] [blame] | 242 | "Sales Invoice": { |
scmmishra | 14d70ce | 2019-03-14 12:31:25 +0530 | [diff] [blame] | 243 | "on_submit": ["erpnext.regional.france.utils.create_transaction_log", "erpnext.regional.italy.utils.sales_invoice_on_submit"], |
| 244 | "on_cancel": "erpnext.regional.italy.utils.sales_invoice_on_cancel", |
Nabin Hait | 0357fbc | 2018-03-09 13:19:52 +0530 | [diff] [blame] | 245 | "on_trash": "erpnext.regional.check_deletion_permission" |
Charles-Henri Decultot | b8c088e | 2018-02-21 06:37:33 +0100 | [diff] [blame] | 246 | }, |
Saurabh | e4e8954 | 2016-07-21 20:26:46 +0530 | [diff] [blame] | 247 | "Payment Entry": { |
Charles-Henri Decultot | b8c088e | 2018-02-21 06:37:33 +0100 | [diff] [blame] | 248 | "on_submit": ["erpnext.regional.france.utils.create_transaction_log", "erpnext.accounts.doctype.payment_request.payment_request.make_status_as_paid"], |
Nabin Hait | 0357fbc | 2018-03-09 13:19:52 +0530 | [diff] [blame] | 249 | "on_trash": "erpnext.regional.check_deletion_permission" |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 250 | }, |
| 251 | 'Address': { |
scmmishra | 14d70ce | 2019-03-14 12:31:25 +0530 | [diff] [blame] | 252 | 'validate': ['erpnext.regional.india.utils.validate_gstin_for_india', 'erpnext.regional.italy.utils.set_state_code'] |
Nabin Hait | 619c42b | 2018-01-10 17:48:03 +0530 | [diff] [blame] | 253 | }, |
Vishal Dhayagude | 2505c74 | 2018-04-04 11:05:21 +0530 | [diff] [blame] | 254 | ('Sales Invoice', 'Purchase Invoice', 'Delivery Note'): { |
Nabin Hait | 619c42b | 2018-01-10 17:48:03 +0530 | [diff] [blame] | 255 | 'validate': 'erpnext.regional.india.utils.set_place_of_supply' |
Shridhar Patil | 4987c4e | 2018-07-03 10:10:04 +0530 | [diff] [blame] | 256 | }, |
Suraj Shetty | d4edd28 | 2019-08-09 19:23:04 +0530 | [diff] [blame] | 257 | "Contact": { |
| 258 | "on_trash": "erpnext.support.doctype.issue.issue.update_issue", |
| 259 | "after_insert": "erpnext.communication.doctype.call_log.call_log.set_caller_information" |
| 260 | }, |
| 261 | "Lead": { |
| 262 | "after_insert": "erpnext.communication.doctype.call_log.call_log.set_caller_information" |
Rucha Mahabal | 9e35bff | 2019-07-12 13:56:36 +0530 | [diff] [blame] | 263 | }, |
| 264 | "Email Unsubscribe": { |
| 265 | "after_insert": "erpnext.crm.doctype.email_campaign.email_campaign.unsubscribe_recipient" |
Anand Doshi | e3bd78e | 2016-04-22 18:53:21 +0530 | [diff] [blame] | 266 | } |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 267 | } |
| 268 | |
| 269 | scheduler_events = { |
Rohit Waghchaure | 425dff9 | 2019-01-17 12:49:45 +0530 | [diff] [blame] | 270 | "all": [ |
| 271 | "erpnext.projects.doctype.project.project.project_status_update_reminder" |
| 272 | ], |
Nabin Hait | 7580723 | 2015-07-02 14:41:27 +0530 | [diff] [blame] | 273 | "hourly": [ |
tundebabzy | 0ec4452 | 2018-03-01 11:33:03 +0100 | [diff] [blame] | 274 | 'erpnext.hr.doctype.daily_work_summary_group.daily_work_summary_group.trigger_emails', |
Pawan Mehta | 6010a10 | 2018-09-05 17:16:57 +0530 | [diff] [blame] | 275 | "erpnext.accounts.doctype.subscription.subscription.process_all", |
Aditya Hase | 7bc692d | 2019-01-07 19:01:47 +0530 | [diff] [blame] | 276 | "erpnext.erpnext_integrations.doctype.amazon_mws_settings.amazon_mws_settings.schedule_get_order_details", |
| 277 | "erpnext.accounts.doctype.gl_entry.gl_entry.rename_gle_sle_docs", |
Nabin Hait | 34c551d | 2019-07-03 10:34:31 +0530 | [diff] [blame] | 278 | "erpnext.erpnext_integrations.doctype.plaid_settings.plaid_settings.automatic_synchronization", |
Rohit Waghchaure | 425dff9 | 2019-01-17 12:49:45 +0530 | [diff] [blame] | 279 | "erpnext.projects.doctype.project.project.hourly_reminder", |
Himanshu Warekar | 6e6148b | 2019-05-10 23:49:42 +0530 | [diff] [blame] | 280 | "erpnext.projects.doctype.project.project.collect_project_status", |
Himanshu Warekar | 2373c09 | 2019-06-25 16:27:06 +0530 | [diff] [blame] | 281 | "erpnext.hr.doctype.shift_type.shift_type.process_auto_attendance_for_all_shifts", |
Himanshu Warekar | 6931ea6 | 2019-06-25 16:27:58 +0530 | [diff] [blame] | 282 | "erpnext.support.doctype.issue.issue.set_service_level_agreement_variance", |
Nabin Hait | 7580723 | 2015-07-02 14:41:27 +0530 | [diff] [blame] | 283 | ], |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 284 | "daily": [ |
Rushabh Mehta | f850987 | 2014-10-08 12:03:19 +0530 | [diff] [blame] | 285 | "erpnext.stock.reorder_item.reorder_item", |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 286 | "erpnext.setup.doctype.email_digest.email_digest.send", |
Nabin Hait | 606af96 | 2014-12-15 11:57:03 +0530 | [diff] [blame] | 287 | "erpnext.support.doctype.issue.issue.auto_close_tickets", |
mbauskar | e1e25a0 | 2017-02-16 19:36:59 +0530 | [diff] [blame] | 288 | "erpnext.crm.doctype.opportunity.opportunity.auto_close_opportunity", |
Rohit Waghchaure | 2f1db57 | 2016-11-08 12:39:33 +0530 | [diff] [blame] | 289 | "erpnext.controllers.accounts_controller.update_invoice_status", |
Rushabh Mehta | 5bceebc | 2015-01-23 15:22:13 +0530 | [diff] [blame] | 290 | "erpnext.accounts.doctype.fiscal_year.fiscal_year.auto_create_fiscal_year", |
Rushabh Mehta | 13ec41a | 2015-12-10 12:31:36 +0530 | [diff] [blame] | 291 | "erpnext.hr.doctype.employee.employee.send_birthday_reminders", |
Nabin Hait | 4fdb052 | 2016-03-09 12:40:56 +0530 | [diff] [blame] | 292 | "erpnext.projects.doctype.task.task.set_tasks_as_overdue", |
Kanchan Chauhan | e58a41a | 2017-10-17 15:17:24 +0530 | [diff] [blame] | 293 | "erpnext.assets.doctype.asset.depreciation.post_depreciation_entries", |
Suraj Shetty | d3069fe | 2018-02-21 15:15:43 +0530 | [diff] [blame] | 294 | "erpnext.hr.doctype.daily_work_summary_group.daily_work_summary_group.send_summary", |
Prateeksha Singh | e012e24 | 2017-07-18 10:35:12 +0530 | [diff] [blame] | 295 | "erpnext.stock.doctype.serial_no.serial_no.update_maintenance_status", |
bcornwellmott | 96381da | 2017-07-24 10:12:30 -0700 | [diff] [blame] | 296 | "erpnext.buying.doctype.supplier_scorecard.supplier_scorecard.refresh_scorecards", |
Nabin Hait | adbf8ad | 2017-07-31 20:45:36 +0530 | [diff] [blame] | 297 | "erpnext.setup.doctype.company.company.cache_companies_monthly_sales_history", |
Manas Solanki | 2f4e5ee | 2018-05-15 15:25:14 +0530 | [diff] [blame] | 298 | "erpnext.assets.doctype.asset.asset.update_maintenance_status", |
Rohan Bansal | bf0f0aa | 2018-05-23 15:06:45 +0530 | [diff] [blame] | 299 | "erpnext.assets.doctype.asset.asset.make_post_gl_entry", |
Himanshu Mishra | 7aabef2 | 2018-06-28 23:43:23 +0530 | [diff] [blame] | 300 | "erpnext.crm.doctype.contract.contract.update_status_for_contracts", |
Himanshu | 0209ef0 | 2018-12-25 17:42:31 +0530 | [diff] [blame] | 301 | "erpnext.projects.doctype.project.project.update_project_sales_billing", |
Sagar Vora | 4d1a9b1 | 2019-01-22 15:56:39 +0530 | [diff] [blame] | 302 | "erpnext.projects.doctype.project.project.send_project_status_email_to_users", |
Himanshu | f3e5213 | 2019-03-19 16:47:56 +0530 | [diff] [blame] | 303 | "erpnext.quality_management.doctype.quality_review.quality_review.review", |
Himanshu Warekar | cf37e40 | 2019-05-07 10:27:01 +0530 | [diff] [blame] | 304 | "erpnext.support.doctype.service_level_agreement.service_level_agreement.check_agreement_status", |
Rucha Mahabal | b54459e | 2019-07-22 03:23:40 +0530 | [diff] [blame] | 305 | "erpnext.crm.doctype.email_campaign.email_campaign.send_email_to_leads_or_contacts", |
Rucha Mahabal | 36963a8 | 2019-07-09 15:14:13 +0530 | [diff] [blame] | 306 | "erpnext.crm.doctype.email_campaign.email_campaign.set_email_campaign_status" |
KanchanChauhan | 73bd3cb | 2018-09-05 11:01:35 +0530 | [diff] [blame] | 307 | ], |
| 308 | "daily_long": [ |
Mangesh-Khairnar | f281f00 | 2019-08-05 14:47:02 +0530 | [diff] [blame] | 309 | "erpnext.manufacturing.doctype.bom_update_tool.bom_update_tool.update_latest_price_in_all_boms", |
| 310 | "erpnext.hr.doctype.leave_ledger_entry.leave_ledger_entry.process_expired_allocation", |
| 311 | "erpnext.hr.utils.generate_leave_encashment" |
KanchanChauhan | 73bd3cb | 2018-09-05 11:01:35 +0530 | [diff] [blame] | 312 | ], |
Nabin Hait | b9b2a06 | 2019-05-01 12:49:44 +0530 | [diff] [blame] | 313 | "monthly_long": [ |
Zarrar | e83ff38 | 2018-09-21 15:45:40 +0530 | [diff] [blame] | 314 | "erpnext.accounts.deferred_revenue.convert_deferred_revenue_to_income", |
| 315 | "erpnext.accounts.deferred_revenue.convert_deferred_expense_to_expense", |
Ranjith Kurungadam | 375db61 | 2018-06-01 16:09:28 +0530 | [diff] [blame] | 316 | "erpnext.hr.utils.allocate_earned_leaves" |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 317 | ] |
| 318 | } |
Anand Doshi | 7f41ff2 | 2014-06-26 12:02:55 +0530 | [diff] [blame] | 319 | |
Faris Ansari | 2c5b3e8 | 2017-07-13 18:37:18 +0530 | [diff] [blame] | 320 | email_brand_image = "assets/erpnext/images/erpnext-logo.jpg" |
| 321 | |
Faris Ansari | 40d3ad2 | 2017-07-31 16:16:22 +0530 | [diff] [blame] | 322 | default_mail_footer = """ |
| 323 | <span> |
| 324 | Sent via |
| 325 | <a class="text-muted" href="https://erpnext.com?source=via_email_footer" target="_blank"> |
| 326 | ERPNext |
| 327 | </a> |
| 328 | </span> |
| 329 | """ |
Anand Doshi | c82331b | 2015-02-12 18:58:28 +0530 | [diff] [blame] | 330 | |
| 331 | get_translated_dict = { |
Anand Doshi | c82331b | 2015-02-12 18:58:28 +0530 | [diff] [blame] | 332 | ("doctype", "Global Defaults"): "frappe.geo.country_info.get_translated_dict" |
| 333 | } |
Rushabh Mehta | fe027b3 | 2016-03-28 13:21:43 +0530 | [diff] [blame] | 334 | |
| 335 | bot_parsers = [ |
| 336 | 'erpnext.utilities.bot.FindItemBot', |
Rushabh Mehta | 0c76f21 | 2016-04-01 11:53:50 +0530 | [diff] [blame] | 337 | ] |
Anand Doshi | f576f3b | 2016-06-25 19:51:48 +0530 | [diff] [blame] | 338 | |
| 339 | get_site_info = 'erpnext.utilities.get_site_info' |
Saurabh | 94c666a | 2016-11-08 20:35:50 +0530 | [diff] [blame] | 340 | |
Saurabh | 0d47d51 | 2017-03-14 14:46:05 +0530 | [diff] [blame] | 341 | payment_gateway_enabled = "erpnext.accounts.utils.create_payment_gateway_account" |
Rushabh Mehta | 7231f29 | 2017-07-13 15:00:56 +0530 | [diff] [blame] | 342 | |
| 343 | regional_overrides = { |
Charles-Henri Decultot | b8c088e | 2018-02-21 06:37:33 +0100 | [diff] [blame] | 344 | 'France': { |
| 345 | 'erpnext.tests.test_regional.test_method': 'erpnext.regional.france.utils.test_method' |
| 346 | }, |
Rushabh Mehta | 7231f29 | 2017-07-13 15:00:56 +0530 | [diff] [blame] | 347 | 'India': { |
Nabin Hait | b962fc1 | 2017-07-17 18:02:31 +0530 | [diff] [blame] | 348 | 'erpnext.tests.test_regional.test_method': 'erpnext.regional.india.utils.test_method', |
| 349 | 'erpnext.controllers.taxes_and_totals.get_itemised_tax_breakup_header': 'erpnext.regional.india.utils.get_itemised_tax_breakup_header', |
Shreya Shah | 4fa600a | 2018-06-05 11:27:53 +0530 | [diff] [blame] | 350 | 'erpnext.controllers.taxes_and_totals.get_itemised_tax_breakup_data': 'erpnext.regional.india.utils.get_itemised_tax_breakup_data', |
Ranjith Kurungadam | a8e047a | 2018-06-14 17:56:16 +0530 | [diff] [blame] | 351 | 'erpnext.accounts.party.get_regional_address_details': 'erpnext.regional.india.utils.get_regional_address_details', |
| 352 | 'erpnext.hr.utils.calculate_annual_eligible_hra_exemption': 'erpnext.regional.india.utils.calculate_annual_eligible_hra_exemption', |
| 353 | 'erpnext.hr.utils.calculate_hra_exemption_for_period': 'erpnext.regional.india.utils.calculate_hra_exemption_for_period' |
rohitwaghchaure | d452668 | 2017-12-28 14:20:13 +0530 | [diff] [blame] | 354 | }, |
| 355 | 'United Arab Emirates': { |
| 356 | 'erpnext.controllers.taxes_and_totals.update_itemised_tax_data': 'erpnext.regional.united_arab_emirates.utils.update_itemised_tax_data' |
| 357 | }, |
| 358 | 'Saudi Arabia': { |
| 359 | 'erpnext.controllers.taxes_and_totals.update_itemised_tax_data': 'erpnext.regional.united_arab_emirates.utils.update_itemised_tax_data' |
scmmishra | 14d70ce | 2019-03-14 12:31:25 +0530 | [diff] [blame] | 360 | }, |
| 361 | 'Italy': { |
| 362 | 'erpnext.controllers.taxes_and_totals.update_itemised_tax_data': 'erpnext.regional.italy.utils.update_itemised_tax_data', |
| 363 | 'erpnext.controllers.accounts_controller.validate_regional': 'erpnext.regional.italy.utils.sales_invoice_validate', |
Rushabh Mehta | 7231f29 | 2017-07-13 15:00:56 +0530 | [diff] [blame] | 364 | } |
Manas Solanki | 2f4e5ee | 2018-05-15 15:25:14 +0530 | [diff] [blame] | 365 | } |
Mangesh-Khairnar | 2ffa87e | 2019-03-20 13:25:48 +0530 | [diff] [blame] | 366 | user_privacy_documents = [ |
| 367 | { |
| 368 | 'doctype': 'Lead', |
| 369 | 'match_field': 'email_id', |
| 370 | 'personal_fields': ['phone', 'mobile_no', 'fax', 'website', 'lead_name'], |
| 371 | }, |
| 372 | { |
| 373 | 'doctype': 'Opportunity', |
| 374 | 'match_field': 'contact_email', |
| 375 | 'personal_fields': ['contact_mobile', 'contact_display', 'customer_name'], |
| 376 | } |
John Clarke | b733984 | 2019-04-04 23:32:25 -0600 | [diff] [blame] | 377 | ] |
Himanshu | 83b0b2a | 2019-09-27 00:59:48 +0530 | [diff] [blame] | 378 | |
Himanshu Warekar | 21abc3a | 2019-09-30 13:40:02 +0530 | [diff] [blame] | 379 | # ERPNext doctypes for Global Search |
Himanshu Warekar | 23c916c | 2019-10-02 16:32:53 +0530 | [diff] [blame] | 380 | global_search_doctypes = { |
| 381 | "Default": [ |
| 382 | {"doctype": "Customer", "index": 0}, |
| 383 | {"doctype": "Supplier", "index": 1}, |
| 384 | {"doctype": "Item", "index": 2}, |
| 385 | {"doctype": "Warehouse", "index": 3}, |
| 386 | {"doctype": "Account", "index": 4}, |
| 387 | {"doctype": "Employee", "index": 5}, |
| 388 | {"doctype": "BOM", "index": 6}, |
| 389 | {"doctype": "Sales Invoice", "index": 7}, |
| 390 | {"doctype": "Sales Order", "index": 8}, |
| 391 | {"doctype": "Quotation", "index": 9}, |
| 392 | {"doctype": "Work Order", "index": 10}, |
| 393 | {"doctype": "Purchase Receipt", "index": 11}, |
| 394 | {"doctype": "Purchase Invoice", "index": 12}, |
| 395 | {"doctype": "Delivery Note", "index": 13}, |
| 396 | {"doctype": "Stock Entry", "index": 14}, |
| 397 | {"doctype": "Material Request", "index": 15}, |
| 398 | {"doctype": "Delivery Trip", "index": 16}, |
| 399 | {"doctype": "Pick List", "index": 17}, |
| 400 | {"doctype": "Salary Slip", "index": 18}, |
| 401 | {"doctype": "Leave Application", "index": 19}, |
| 402 | {"doctype": "Expense Claim", "index": 20}, |
| 403 | {"doctype": "Payment Entry", "index": 21}, |
| 404 | {"doctype": "Lead", "index": 22}, |
| 405 | {"doctype": "Opportunity", "index": 23}, |
| 406 | {"doctype": "Item Price", "index": 24}, |
| 407 | {"doctype": "Purchase Taxes and Charges Template", "index": 25}, |
| 408 | {"doctype": "Sales Taxes and Charges", "index": 26}, |
| 409 | {"doctype": "Asset", "index": 27}, |
| 410 | {"doctype": "Project", "index": 28}, |
| 411 | {"doctype": "Task", "index": 29}, |
| 412 | {"doctype": "Timesheet", "index": 30}, |
| 413 | {"doctype": "Issue", "index": 31}, |
| 414 | {"doctype": "Serial No", "index": 32}, |
| 415 | {"doctype": "Batch", "index": 33}, |
| 416 | {"doctype": "Branch", "index": 34}, |
| 417 | {"doctype": "Department", "index": 35}, |
| 418 | {"doctype": "Employee Grade", "index": 36}, |
| 419 | {"doctype": "Designation", "index": 37}, |
| 420 | {"doctype": "Job Opening", "index": 38}, |
| 421 | {"doctype": "Job Applicant", "index": 39}, |
| 422 | {"doctype": "Job Offer", "index": 40}, |
| 423 | {"doctype": "Salary Structure Assignment", "index": 41}, |
| 424 | {"doctype": "Appraisal", "index": 42}, |
| 425 | {"doctype": "Loan", "index": 43}, |
| 426 | {"doctype": "Maintenance Schedule", "index": 44}, |
| 427 | {"doctype": "Maintenance Visit", "index": 45}, |
| 428 | {"doctype": "Warranty Claim", "index": 46}, |
| 429 | ], |
| 430 | "Healthcare": [ |
| 431 | {'doctype': 'Patient', 'index': 1}, |
| 432 | {'doctype': 'Medical Department', 'index': 2}, |
| 433 | {'doctype': 'Vital Signs', 'index': 3}, |
| 434 | {'doctype': 'Healthcare Practitioner', 'index': 4}, |
| 435 | {'doctype': 'Patient Appointment', 'index': 5}, |
| 436 | {'doctype': 'Healthcare Service Unit', 'index': 6}, |
| 437 | {'doctype': 'Patient Encounter', 'index': 7}, |
| 438 | {'doctype': 'Antibiotic', 'index': 8}, |
| 439 | {'doctype': 'Diagnosis', 'index': 9}, |
| 440 | {'doctype': 'Lab Test', 'index': 10}, |
| 441 | {'doctype': 'Clinical Procedure', 'index': 11}, |
| 442 | {'doctype': 'Inpatient Record', 'index': 12}, |
| 443 | {'doctype': 'Sample Collection', 'index': 13}, |
| 444 | {'doctype': 'Patient Medical Record', 'index': 14}, |
| 445 | {'doctype': 'Appointment Type', 'index': 15}, |
| 446 | {'doctype': 'Fee Validity', 'index': 16}, |
| 447 | {'doctype': 'Practitioner Schedule', 'index': 17}, |
| 448 | {'doctype': 'Dosage Form', 'index': 18}, |
| 449 | {'doctype': 'Lab Test Sample', 'index': 19}, |
| 450 | {'doctype': 'Prescription Duration', 'index': 20}, |
| 451 | {'doctype': 'Prescription Dosage', 'index': 21}, |
| 452 | {'doctype': 'Sensitivity', 'index': 22}, |
| 453 | {'doctype': 'Complaint', 'index': 23}, |
| 454 | {'doctype': 'Medical Code', 'index': 24}, |
| 455 | ], |
| 456 | "Education": [ |
| 457 | {'doctype': 'Article', 'index': 1}, |
| 458 | {'doctype': 'Video', 'index': 2}, |
| 459 | {'doctype': 'Topic', 'index': 3}, |
| 460 | {'doctype': 'Course', 'index': 4}, |
| 461 | {'doctype': 'Program', 'index': 5}, |
| 462 | {'doctype': 'Quiz', 'index': 6}, |
| 463 | {'doctype': 'Question', 'index': 7}, |
| 464 | {'doctype': 'Fee Schedule', 'index': 8}, |
| 465 | {'doctype': 'Fee Structure', 'index': 9}, |
| 466 | {'doctype': 'Fees', 'index': 10}, |
| 467 | {'doctype': 'Student Group', 'index': 11}, |
| 468 | {'doctype': 'Student', 'index': 12}, |
| 469 | {'doctype': 'Instructor', 'index': 13}, |
| 470 | {'doctype': 'Course Activity', 'index': 14}, |
| 471 | {'doctype': 'Quiz Activity', 'index': 15}, |
| 472 | {'doctype': 'Course Enrollment', 'index': 16}, |
| 473 | {'doctype': 'Program Enrollment', 'index': 17}, |
| 474 | {'doctype': 'Student Language', 'index': 18}, |
| 475 | {'doctype': 'Student Applicant', 'index': 19}, |
| 476 | {'doctype': 'Assessment Result', 'index': 20}, |
| 477 | {'doctype': 'Assessment Plan', 'index': 21}, |
| 478 | {'doctype': 'Grading Scale', 'index': 22}, |
| 479 | {'doctype': 'Guardian', 'index': 23}, |
| 480 | {'doctype': 'Student Leave Application', 'index': 24}, |
| 481 | {'doctype': 'Student Log', 'index': 25}, |
| 482 | {'doctype': 'Room', 'index': 26}, |
| 483 | {'doctype': 'Course Schedule', 'index': 27}, |
| 484 | {'doctype': 'Student Attendance', 'index': 28}, |
| 485 | {'doctype': 'Announcement', 'index': 29}, |
| 486 | {'doctype': 'Student Category', 'index': 30}, |
| 487 | {'doctype': 'Assessment Group', 'index': 31}, |
| 488 | {'doctype': 'Student Batch Name', 'index': 32}, |
| 489 | {'doctype': 'Assessment Criteria', 'index': 33}, |
| 490 | {'doctype': 'Academic Year', 'index': 34}, |
| 491 | {'doctype': 'Academic Term', 'index': 35}, |
| 492 | {'doctype': 'School House', 'index': 36}, |
| 493 | {'doctype': 'Student Admission', 'index': 37}, |
| 494 | {'doctype': 'Fee Category', 'index': 38}, |
| 495 | {'doctype': 'Assessment Code', 'index': 39}, |
| 496 | {'doctype': 'Discussion', 'index': 40}, |
| 497 | ], |
| 498 | "Agriculture": [ |
| 499 | {'doctype': 'Weather', 'index': 1}, |
| 500 | {'doctype': 'Soil Texture', 'index': 2}, |
| 501 | {'doctype': 'Water Analysis', 'index': 3}, |
| 502 | {'doctype': 'Soil Analysis', 'index': 4}, |
| 503 | {'doctype': 'Plant Analysis', 'index': 5}, |
| 504 | {'doctype': 'Agriculture Analysis Criteria', 'index': 6}, |
| 505 | {'doctype': 'Disease', 'index': 7}, |
| 506 | {'doctype': 'Crop', 'index': 8}, |
| 507 | {'doctype': 'Fertilizer', 'index': 9}, |
| 508 | {'doctype': 'Crop Cycle', 'index': 10} |
| 509 | ], |
| 510 | "Non Profit": [ |
| 511 | {'doctype': 'Certified Consultant', 'index': 1}, |
| 512 | {'doctype': 'Certification Application', 'index': 2}, |
| 513 | {'doctype': 'Volunteer', 'index': 3}, |
| 514 | {'doctype': 'Membership', 'index': 4}, |
| 515 | {'doctype': 'Member', 'index': 5}, |
| 516 | {'doctype': 'Donor', 'index': 6}, |
| 517 | {'doctype': 'Chapter', 'index': 7}, |
| 518 | {'doctype': 'Grant Application', 'index': 8}, |
| 519 | {'doctype': 'Volunteer Type', 'index': 9}, |
| 520 | {'doctype': 'Donor Type', 'index': 10}, |
| 521 | {'doctype': 'Membership Type', 'index': 11} |
| 522 | ], |
| 523 | "Hospitality": [ |
| 524 | {'doctype': 'Hotel Room', 'index': 0}, |
| 525 | {'doctype': 'Hotel Room Reservation', 'index': 1}, |
| 526 | {'doctype': 'Hotel Room Pricing', 'index': 2}, |
| 527 | {'doctype': 'Hotel Room Package', 'index': 3}, |
| 528 | {'doctype': 'Hotel Room Type', 'index': 4} |
| 529 | ] |
| 530 | } |