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" |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 13 | |
Faris Ansari | 1c09a99 | 2017-05-04 12:12:14 +0530 | [diff] [blame] | 14 | develop_version = '8.x.x-beta' |
Rushabh Mehta | db206f2 | 2017-03-10 09:38:58 +0530 | [diff] [blame] | 15 | |
Anand Doshi | 0c3bb75 | 2014-07-09 12:59:56 +0530 | [diff] [blame] | 16 | error_report_email = "support@erpnext.com" |
| 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" |
Anand Doshi | da858cc | 2015-02-24 17:50:44 +0530 | [diff] [blame] | 21 | web_include_css = "assets/erpnext/css/website.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", |
| 25 | } |
| 26 | |
Rushabh Mehta | 37b4d75 | 2015-11-09 16:53:11 +0530 | [diff] [blame] | 27 | # setup wizard |
| 28 | setup_wizard_requires = "assets/erpnext/js/setup_wizard.js" |
| 29 | setup_wizard_complete = "erpnext.setup.setup_wizard.setup_wizard.setup_complete" |
Prateeksha Singh | 95d8fd3 | 2017-09-04 11:14:04 +0530 | [diff] [blame] | 30 | setup_wizard_success = "erpnext.setup.setup_wizard.setup_wizard.setup_success" |
| 31 | 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] | 32 | |
Rushabh Mehta | d55bdcf | 2015-12-31 11:12:48 +0530 | [diff] [blame] | 33 | before_install = "erpnext.setup.install.check_setup_wizard_not_completed" |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 34 | after_install = "erpnext.setup.install.after_install" |
| 35 | |
| 36 | boot_session = "erpnext.startup.boot.boot_session" |
| 37 | notification_config = "erpnext.startup.notifications.get_notification_config" |
Rushabh Mehta | 05ce7ec | 2017-02-22 16:15:43 +0530 | [diff] [blame] | 38 | get_help_messages = "erpnext.utilities.activation.get_help_messages" |
Prateeksha Singh | 95d8fd3 | 2017-09-04 11:14:04 +0530 | [diff] [blame] | 39 | get_user_progress_slides = "erpnext.utilities.user_progress.get_user_progress_slides" |
| 40 | update_and_get_user_progress = "erpnext.utilities.user_progress_utils.update_default_domain_actions_and_get_state" |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 41 | |
Rushabh Mehta | 3daa49a | 2014-10-21 16:16:30 +0530 | [diff] [blame] | 42 | on_session_creation = "erpnext.shopping_cart.utils.set_cart_count" |
| 43 | on_logout = "erpnext.shopping_cart.utils.clear_cart_count" |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 44 | |
Saurabh | 6212478 | 2016-06-30 13:33:49 +0530 | [diff] [blame] | 45 | treeviews = ['Account', 'Cost Center', 'Warehouse', 'Item Group', 'Customer Group', 'Sales Person', 'Territory', "BOM"] |
Rushabh Mehta | 764aa92 | 2016-05-02 13:28:46 +0530 | [diff] [blame] | 46 | |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 47 | # website |
| 48 | update_website_context = "erpnext.shopping_cart.utils.update_website_context" |
| 49 | my_account_context = "erpnext.shopping_cart.utils.update_my_account_context" |
Rushabh Mehta | 621d6ea | 2015-07-08 12:39:27 +0530 | [diff] [blame] | 50 | |
Rushabh Mehta | 4c46687 | 2015-04-02 22:00:34 +0530 | [diff] [blame] | 51 | email_append_to = ["Job Applicant", "Opportunity", "Issue"] |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 52 | |
Rohit Waghchaure | d6c986d | 2016-06-03 14:44:35 +0530 | [diff] [blame] | 53 | calendars = ["Task", "Production Order", "Leave Application", "Sales Order", "Holiday List"] |
Rushabh Mehta | 621d6ea | 2015-07-08 12:39:27 +0530 | [diff] [blame] | 54 | |
Kanchan Chauhan | 1f3d5b7 | 2016-03-01 11:33:49 +0530 | [diff] [blame] | 55 | fixtures = ["Web Form"] |
| 56 | |
Rushabh Mehta | dbb5154 | 2017-08-10 21:06:09 +0530 | [diff] [blame] | 57 | website_generators = ["Item Group", "Item", "BOM", "Sales Partner", |
| 58 | "Job Opening", "Student Admission"] |
Rushabh Mehta | 621d6ea | 2015-07-08 12:39:27 +0530 | [diff] [blame] | 59 | |
Rushabh Mehta | 2e7c36e | 2015-04-16 12:41:42 +0530 | [diff] [blame] | 60 | website_context = { |
Rushabh Mehta | 5674c4f | 2015-04-16 15:09:42 +0530 | [diff] [blame] | 61 | "favicon": "/assets/erpnext/images/favicon.png", |
Rushabh Mehta | d40e661 | 2017-01-10 14:46:45 +0530 | [diff] [blame] | 62 | "splash_image": "/assets/erpnext/images/erp-icon.svg" |
Rushabh Mehta | 2e7c36e | 2015-04-16 12:41:42 +0530 | [diff] [blame] | 63 | } |
| 64 | |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 65 | website_route_rules = [ |
| 66 | {"from_route": "/orders", "to_route": "Sales Order"}, |
Rushabh Mehta | 156ce60 | 2015-09-11 18:49:59 +0530 | [diff] [blame] | 67 | {"from_route": "/orders/<path:name>", "to_route": "order", |
| 68 | "defaults": { |
| 69 | "doctype": "Sales Order", |
Britlog | 4c7709e | 2017-07-28 15:24:22 +0200 | [diff] [blame] | 70 | "parents": [{"label": _("Orders"), "route": "orders"}] |
Rushabh Mehta | 156ce60 | 2015-09-11 18:49:59 +0530 | [diff] [blame] | 71 | } |
| 72 | }, |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 73 | {"from_route": "/invoices", "to_route": "Sales Invoice"}, |
Rushabh Mehta | 156ce60 | 2015-09-11 18:49:59 +0530 | [diff] [blame] | 74 | {"from_route": "/invoices/<path:name>", "to_route": "order", |
| 75 | "defaults": { |
| 76 | "doctype": "Sales Invoice", |
Britlog | 4c7709e | 2017-07-28 15:24:22 +0200 | [diff] [blame] | 77 | "parents": [{"label": _("Invoices"), "route": "invoices"}] |
Rushabh Mehta | 156ce60 | 2015-09-11 18:49:59 +0530 | [diff] [blame] | 78 | } |
| 79 | }, |
Makarand Bauskar | 9306aff | 2017-07-21 15:19:47 +0530 | [diff] [blame] | 80 | {"from_route": "/supplier-quotations", "to_route": "Supplier Quotation"}, |
| 81 | {"from_route": "/supplier-quotations/<path:name>", "to_route": "order", |
Rohit Waghchaure | 21499e8 | 2016-09-21 16:49:58 +0530 | [diff] [blame] | 82 | "defaults": { |
| 83 | "doctype": "Supplier Quotation", |
Britlog | 4c7709e | 2017-07-28 15:24:22 +0200 | [diff] [blame] | 84 | "parents": [{"label": _("Supplier Quotation"), "route": "quotations"}] |
Rohit Waghchaure | 21499e8 | 2016-09-21 16:49:58 +0530 | [diff] [blame] | 85 | } |
| 86 | }, |
Makarand Bauskar | 9306aff | 2017-07-21 15:19:47 +0530 | [diff] [blame] | 87 | {"from_route": "/quotations", "to_route": "Quotation"}, |
| 88 | {"from_route": "/quotations/<path:name>", "to_route": "order", |
| 89 | "defaults": { |
| 90 | "doctype": "Quotation", |
Rushabh Mehta | dbb5154 | 2017-08-10 21:06:09 +0530 | [diff] [blame] | 91 | "parents": [{"label": _("Quotations"), "route": "quotations"}] |
Makarand Bauskar | 9306aff | 2017-07-21 15:19:47 +0530 | [diff] [blame] | 92 | } |
| 93 | }, |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 94 | {"from_route": "/shipments", "to_route": "Delivery Note"}, |
Rushabh Mehta | 156ce60 | 2015-09-11 18:49:59 +0530 | [diff] [blame] | 95 | {"from_route": "/shipments/<path:name>", "to_route": "order", |
| 96 | "defaults": { |
Anand Doshi | 4b12740 | 2015-11-26 18:22:03 +0530 | [diff] [blame] | 97 | "doctype": "Delivery Note", |
Britlog | 4c7709e | 2017-07-28 15:24:22 +0200 | [diff] [blame] | 98 | "parents": [{"label": _("Shipments"), "route": "shipments"}] |
Rushabh Mehta | 156ce60 | 2015-09-11 18:49:59 +0530 | [diff] [blame] | 99 | } |
Kanchan Chauhan | 2e8cc89 | 2016-02-19 17:27:23 +0530 | [diff] [blame] | 100 | }, |
rohitwaghchaure | a1064a6 | 2016-03-03 14:00:35 +0530 | [diff] [blame] | 101 | {"from_route": "/rfq", "to_route": "Request for Quotation"}, |
| 102 | {"from_route": "/rfq/<path:name>", "to_route": "rfq", |
| 103 | "defaults": { |
| 104 | "doctype": "Request for Quotation", |
Britlog | 4c7709e | 2017-07-28 15:24:22 +0200 | [diff] [blame] | 105 | "parents": [{"label": _("Request for Quotation"), "route": "rfq"}] |
rohitwaghchaure | a1064a6 | 2016-03-03 14:00:35 +0530 | [diff] [blame] | 106 | } |
| 107 | }, |
Kanchan Chauhan | 1605ff0 | 2016-07-04 14:28:09 +0530 | [diff] [blame] | 108 | {"from_route": "/addresses", "to_route": "Address"}, |
| 109 | {"from_route": "/addresses/<path:name>", "to_route": "addresses", |
| 110 | "defaults": { |
| 111 | "doctype": "Address", |
Britlog | 4c7709e | 2017-07-28 15:24:22 +0200 | [diff] [blame] | 112 | "parents": [{"label": _("Addresses"), "route": "addresses"}] |
Kanchan Chauhan | 1605ff0 | 2016-07-04 14:28:09 +0530 | [diff] [blame] | 113 | } |
| 114 | }, |
Kanchan Chauhan | 2e8cc89 | 2016-02-19 17:27:23 +0530 | [diff] [blame] | 115 | {"from_route": "/jobs", "to_route": "Job Opening"}, |
Neil Trini Lasrado | 83d8120 | 2016-09-15 14:48:13 +0530 | [diff] [blame] | 116 | {"from_route": "/admissions", "to_route": "Student Admission"}, |
Vishal Dhayagude | edb2749 | 2017-07-25 10:53:12 +0530 | [diff] [blame] | 117 | {"from_route": "/boms", "to_route": "BOM"}, |
| 118 | {"from_route": "/timesheets", "to_route": "Timesheet"}, |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 119 | ] |
| 120 | |
Rushabh Mehta | b9cdb05 | 2017-03-08 12:33:43 +0530 | [diff] [blame] | 121 | standard_portal_menu_items = [ |
Rushabh Mehta | 0c76f21 | 2016-04-01 11:53:50 +0530 | [diff] [blame] | 122 | {"title": _("Projects"), "route": "/project", "reference_doctype": "Project"}, |
Rushabh Mehta | fc800b3 | 2016-09-23 21:51:51 +0530 | [diff] [blame] | 123 | {"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] | 124 | {"title": _("Supplier Quotation"), "route": "/supplier-quotations", "reference_doctype": "Supplier Quotation", "role": "Supplier"}, |
| 125 | {"title": _("Quotations"), "route": "/quotations", "reference_doctype": "Quotation", "role":"Customer"}, |
Rushabh Mehta | fc800b3 | 2016-09-23 21:51:51 +0530 | [diff] [blame] | 126 | {"title": _("Orders"), "route": "/orders", "reference_doctype": "Sales Order", "role":"Customer"}, |
| 127 | {"title": _("Invoices"), "route": "/invoices", "reference_doctype": "Sales Invoice", "role":"Customer"}, |
| 128 | {"title": _("Shipments"), "route": "/shipments", "reference_doctype": "Delivery Note", "role":"Customer"}, |
| 129 | {"title": _("Issues"), "route": "/issues", "reference_doctype": "Issue", "role":"Customer"}, |
Neil Trini Lasrado | 3f0a581 | 2016-07-19 14:17:33 +0530 | [diff] [blame] | 130 | {"title": _("Addresses"), "route": "/addresses", "reference_doctype": "Address"}, |
Vishal Dhayagude | edb2749 | 2017-07-25 10:53:12 +0530 | [diff] [blame] | 131 | {"title": _("Fees"), "route": "/fees", "reference_doctype": "Fees", "role":"Student"}, |
| 132 | {"title": _("Timesheets"), "route": "/timesheets", "reference_doctype": "Timesheet", "role":"Customer"} |
Rushabh Mehta | fc800b3 | 2016-09-23 21:51:51 +0530 | [diff] [blame] | 133 | ] |
| 134 | |
| 135 | default_roles = [ |
Rushabh Mehta | 95439db | 2017-01-14 00:25:22 +0530 | [diff] [blame] | 136 | {'role': 'Customer', 'doctype':'Contact', 'email_field': 'email_id'}, |
| 137 | {'role': 'Supplier', 'doctype':'Contact', 'email_field': 'email_id'}, |
Vishal Dhayagude | edb2749 | 2017-07-25 10:53:12 +0530 | [diff] [blame] | 138 | {'role': 'Student', 'doctype':'Student', 'email_field': 'student_email_id'}, |
Rushabh Mehta | c78b311 | 2016-03-30 12:29:48 +0530 | [diff] [blame] | 139 | ] |
| 140 | |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 141 | has_website_permission = { |
| 142 | "Sales Order": "erpnext.controllers.website_list_for_contact.has_website_permission", |
Makarand Bauskar | 9306aff | 2017-07-21 15:19:47 +0530 | [diff] [blame] | 143 | "Quotation": "erpnext.controllers.website_list_for_contact.has_website_permission", |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 144 | "Sales Invoice": "erpnext.controllers.website_list_for_contact.has_website_permission", |
Rohit Waghchaure | 21499e8 | 2016-09-21 16:49:58 +0530 | [diff] [blame] | 145 | "Supplier Quotation": "erpnext.controllers.website_list_for_contact.has_website_permission", |
Rushabh Mehta | a33d468 | 2015-06-01 17:15:42 +0530 | [diff] [blame] | 146 | "Delivery Note": "erpnext.controllers.website_list_for_contact.has_website_permission", |
Vishal Dhayagude | edb2749 | 2017-07-25 10:53:12 +0530 | [diff] [blame] | 147 | "Issue": "erpnext.support.doctype.issue.issue.has_website_permission", |
| 148 | "Timesheet": "erpnext.controllers.website_list_for_contact.has_website_permission" |
Anand Doshi | f9fc04c | 2015-02-23 22:14:12 +0530 | [diff] [blame] | 149 | } |
Rushabh Mehta | 3daa49a | 2014-10-21 16:16:30 +0530 | [diff] [blame] | 150 | |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 151 | dump_report_map = "erpnext.startup.report_data_map.data_map" |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 152 | |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 153 | before_tests = "erpnext.setup.utils.before_tests" |
| 154 | |
Rushabh Mehta | 308e6ea | 2015-03-24 17:34:58 +0530 | [diff] [blame] | 155 | standard_queries = { |
| 156 | "Customer": "erpnext.selling.doctype.customer.customer.get_customer_list" |
| 157 | } |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 158 | |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 159 | doc_events = { |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 160 | "Stock Entry": { |
Nabin Hait | 4acd431 | 2014-11-04 15:32:31 +0530 | [diff] [blame] | 161 | "on_submit": "erpnext.stock.doctype.material_request.material_request.update_completed_and_requested_qty", |
| 162 | "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] | 163 | }, |
| 164 | "User": { |
KanchanChauhan | 1dc26b1 | 2017-06-13 15:26:35 +0530 | [diff] [blame] | 165 | "after_insert": "frappe.contacts.doctype.contact.contact.update_contact", |
Anand Doshi | 4985691 | 2014-05-28 18:49:13 +0530 | [diff] [blame] | 166 | "validate": "erpnext.hr.doctype.employee.employee.validate_employee_role", |
Rushabh Mehta | 0d6db6c | 2017-03-31 23:01:45 +0530 | [diff] [blame] | 167 | "on_update": ["erpnext.hr.doctype.employee.employee.update_user_permissions", |
| 168 | "erpnext.portal.utils.set_default_role"] |
Rushabh Mehta | 3daa49a | 2014-10-21 16:16:30 +0530 | [diff] [blame] | 169 | }, |
Rushabh Mehta | f16f9c5 | 2016-04-08 17:20:50 +0530 | [diff] [blame] | 170 | ("Sales Taxes and Charges Template", 'Price List'): { |
Rushabh Mehta | 3daa49a | 2014-10-21 16:16:30 +0530 | [diff] [blame] | 171 | "on_update": "erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.validate_cart_settings" |
| 172 | }, |
Rushabh Mehta | f16f9c5 | 2016-04-08 17:20:50 +0530 | [diff] [blame] | 173 | |
Anand Doshi | e3bd78e | 2016-04-22 18:53:21 +0530 | [diff] [blame] | 174 | "Website Settings": { |
| 175 | "validate": "erpnext.portal.doctype.products_settings.products_settings.home_page_is_products" |
Saurabh | e4e8954 | 2016-07-21 20:26:46 +0530 | [diff] [blame] | 176 | }, |
| 177 | "Payment Entry": { |
| 178 | "on_submit": "erpnext.accounts.doctype.payment_request.payment_request.make_status_as_paid" |
Rushabh Mehta | b3c8f44 | 2017-06-21 17:22:38 +0530 | [diff] [blame] | 179 | }, |
| 180 | 'Address': { |
| 181 | 'validate': 'erpnext.regional.india.utils.validate_gstin_for_india' |
Anand Doshi | e3bd78e | 2016-04-22 18:53:21 +0530 | [diff] [blame] | 182 | } |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 183 | } |
| 184 | |
| 185 | scheduler_events = { |
Nabin Hait | 7580723 | 2015-07-02 14:41:27 +0530 | [diff] [blame] | 186 | "hourly": [ |
Rushabh Mehta | fe816c3 | 2016-11-08 18:18:40 +0530 | [diff] [blame] | 187 | "erpnext.controllers.recurring_document.create_recurring_documents", |
| 188 | 'erpnext.hr.doctype.daily_work_summary_settings.daily_work_summary_settings.trigger_emails' |
Nabin Hait | 7580723 | 2015-07-02 14:41:27 +0530 | [diff] [blame] | 189 | ], |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 190 | "daily": [ |
Rushabh Mehta | f850987 | 2014-10-08 12:03:19 +0530 | [diff] [blame] | 191 | "erpnext.stock.reorder_item.reorder_item", |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 192 | "erpnext.setup.doctype.email_digest.email_digest.send", |
Nabin Hait | 606af96 | 2014-12-15 11:57:03 +0530 | [diff] [blame] | 193 | "erpnext.support.doctype.issue.issue.auto_close_tickets", |
mbauskar | e1e25a0 | 2017-02-16 19:36:59 +0530 | [diff] [blame] | 194 | "erpnext.crm.doctype.opportunity.opportunity.auto_close_opportunity", |
Rohit Waghchaure | 2f1db57 | 2016-11-08 12:39:33 +0530 | [diff] [blame] | 195 | "erpnext.controllers.accounts_controller.update_invoice_status", |
Rushabh Mehta | 5bceebc | 2015-01-23 15:22:13 +0530 | [diff] [blame] | 196 | "erpnext.accounts.doctype.fiscal_year.fiscal_year.auto_create_fiscal_year", |
Rushabh Mehta | 13ec41a | 2015-12-10 12:31:36 +0530 | [diff] [blame] | 197 | "erpnext.hr.doctype.employee.employee.send_birthday_reminders", |
Nabin Hait | 4fdb052 | 2016-03-09 12:40:56 +0530 | [diff] [blame] | 198 | "erpnext.projects.doctype.task.task.set_tasks_as_overdue", |
Rushabh Mehta | 9dd58d4 | 2016-11-18 12:39:24 +0530 | [diff] [blame] | 199 | "erpnext.accounts.doctype.asset.depreciation.post_depreciation_entries", |
Manas Solanki | 253c53c | 2017-05-30 15:35:58 +0530 | [diff] [blame] | 200 | "erpnext.hr.doctype.daily_work_summary_settings.daily_work_summary_settings.send_summary", |
Prateeksha Singh | e012e24 | 2017-07-18 10:35:12 +0530 | [diff] [blame] | 201 | "erpnext.stock.doctype.serial_no.serial_no.update_maintenance_status", |
bcornwellmott | 96381da | 2017-07-24 10:12:30 -0700 | [diff] [blame] | 202 | "erpnext.buying.doctype.supplier_scorecard.supplier_scorecard.refresh_scorecards", |
Nabin Hait | adbf8ad | 2017-07-31 20:45:36 +0530 | [diff] [blame] | 203 | "erpnext.setup.doctype.company.company.cache_companies_monthly_sales_history", |
| 204 | "erpnext.manufacturing.doctype.bom_update_tool.bom_update_tool.update_latest_price_in_all_boms", |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 205 | ] |
| 206 | } |
Anand Doshi | 7f41ff2 | 2014-06-26 12:02:55 +0530 | [diff] [blame] | 207 | |
Faris Ansari | 2c5b3e8 | 2017-07-13 18:37:18 +0530 | [diff] [blame] | 208 | email_brand_image = "assets/erpnext/images/erpnext-logo.jpg" |
| 209 | |
Faris Ansari | 40d3ad2 | 2017-07-31 16:16:22 +0530 | [diff] [blame] | 210 | default_mail_footer = """ |
| 211 | <span> |
| 212 | Sent via |
| 213 | <a class="text-muted" href="https://erpnext.com?source=via_email_footer" target="_blank"> |
| 214 | ERPNext |
| 215 | </a> |
| 216 | </span> |
| 217 | """ |
Anand Doshi | c82331b | 2015-02-12 18:58:28 +0530 | [diff] [blame] | 218 | |
| 219 | get_translated_dict = { |
Anand Doshi | c82331b | 2015-02-12 18:58:28 +0530 | [diff] [blame] | 220 | ("doctype", "Global Defaults"): "frappe.geo.country_info.get_translated_dict" |
| 221 | } |
Rushabh Mehta | fe027b3 | 2016-03-28 13:21:43 +0530 | [diff] [blame] | 222 | |
| 223 | bot_parsers = [ |
| 224 | 'erpnext.utilities.bot.FindItemBot', |
Rushabh Mehta | 0c76f21 | 2016-04-01 11:53:50 +0530 | [diff] [blame] | 225 | ] |
Anand Doshi | f576f3b | 2016-06-25 19:51:48 +0530 | [diff] [blame] | 226 | |
| 227 | get_site_info = 'erpnext.utilities.get_site_info' |
Saurabh | 94c666a | 2016-11-08 20:35:50 +0530 | [diff] [blame] | 228 | |
Saurabh | 0d47d51 | 2017-03-14 14:46:05 +0530 | [diff] [blame] | 229 | payment_gateway_enabled = "erpnext.accounts.utils.create_payment_gateway_account" |
Rushabh Mehta | 7231f29 | 2017-07-13 15:00:56 +0530 | [diff] [blame] | 230 | |
| 231 | regional_overrides = { |
| 232 | 'India': { |
Nabin Hait | b962fc1 | 2017-07-17 18:02:31 +0530 | [diff] [blame] | 233 | 'erpnext.tests.test_regional.test_method': 'erpnext.regional.india.utils.test_method', |
| 234 | 'erpnext.controllers.taxes_and_totals.get_itemised_tax_breakup_header': 'erpnext.regional.india.utils.get_itemised_tax_breakup_header', |
| 235 | 'erpnext.controllers.taxes_and_totals.get_itemised_tax_breakup_data': 'erpnext.regional.india.utils.get_itemised_tax_breakup_data' |
Rushabh Mehta | 7231f29 | 2017-07-13 15:00:56 +0530 | [diff] [blame] | 236 | } |
| 237 | } |