Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 1 | app_name = "erpnext" |
| 2 | app_title = "ERPNext" |
| 3 | app_publisher = "Web Notes Technologies Pvt. Ltd. and Contributors" |
| 4 | app_description = "Open Source Enterprise Resource Planning for Small and Midsized Organizations" |
| 5 | app_icon = "icon-th" |
| 6 | app_color = "#e74c3c" |
Rushabh Mehta | 1c91868 | 2014-09-29 12:09:55 +0530 | [diff] [blame] | 7 | app_version = "5.0.0-alpha" |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 8 | |
Anand Doshi | 0c3bb75 | 2014-07-09 12:59:56 +0530 | [diff] [blame] | 9 | error_report_email = "support@erpnext.com" |
| 10 | |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 11 | app_include_js = "assets/js/erpnext.min.js" |
| 12 | app_include_css = "assets/css/erpnext.css" |
| 13 | web_include_js = "assets/js/erpnext-web.min.js" |
Rushabh Mehta | 3daa49a | 2014-10-21 16:16:30 +0530 | [diff] [blame] | 14 | web_include_css = "assets/css/shopping-cart-web.css" |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 15 | |
| 16 | after_install = "erpnext.setup.install.after_install" |
| 17 | |
| 18 | boot_session = "erpnext.startup.boot.boot_session" |
| 19 | notification_config = "erpnext.startup.notifications.get_notification_config" |
| 20 | |
Rushabh Mehta | 3daa49a | 2014-10-21 16:16:30 +0530 | [diff] [blame] | 21 | on_session_creation = "erpnext.shopping_cart.utils.set_cart_count" |
| 22 | on_logout = "erpnext.shopping_cart.utils.clear_cart_count" |
| 23 | update_website_context = ["erpnext.shopping_cart.utils.update_website_context", "erpnext.startup.webutils.update_website_context"] |
| 24 | |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 25 | dump_report_map = "erpnext.startup.report_data_map.data_map" |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 26 | |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 27 | before_tests = "erpnext.setup.utils.before_tests" |
| 28 | |
Rushabh Mehta | 5df521b | 2014-06-17 14:21:26 +0530 | [diff] [blame] | 29 | website_generators = ["Item Group", "Item", "Sales Partner"] |
| 30 | |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 31 | standard_queries = "Customer:erpnext.selling.doctype.customer.customer.get_customer_list" |
| 32 | |
Rushabh Mehta | c786802 | 2014-09-17 17:28:03 +0530 | [diff] [blame] | 33 | communication_covert_to = ["Lead", "Support Ticket", "Job Application"] |
| 34 | |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 35 | doc_events = { |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 36 | "Stock Entry": { |
| 37 | "on_submit": "erpnext.stock.doctype.material_request.material_request.update_completed_qty", |
| 38 | "on_cancel": "erpnext.stock.doctype.material_request.material_request.update_completed_qty" |
Anand Doshi | 648062d | 2014-05-05 16:46:14 +0530 | [diff] [blame] | 39 | }, |
| 40 | "User": { |
Anand Doshi | 4985691 | 2014-05-28 18:49:13 +0530 | [diff] [blame] | 41 | "validate": "erpnext.hr.doctype.employee.employee.validate_employee_role", |
Anand Doshi | a8ce570 | 2014-05-27 13:46:42 +0530 | [diff] [blame] | 42 | "on_update": "erpnext.hr.doctype.employee.employee.update_user_permissions" |
Rushabh Mehta | 3daa49a | 2014-10-21 16:16:30 +0530 | [diff] [blame] | 43 | }, |
| 44 | "Sales Taxes and Charges Master": { |
| 45 | "on_update": "erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.validate_cart_settings" |
| 46 | }, |
| 47 | "Price List": { |
| 48 | "on_update": "erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.validate_cart_settings" |
| 49 | }, |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 50 | } |
| 51 | |
| 52 | scheduler_events = { |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 53 | "daily": [ |
Anand Doshi | d42326b | 2014-09-05 11:20:10 +0530 | [diff] [blame] | 54 | "erpnext.controllers.recurring_document.create_recurring_documents", |
Rushabh Mehta | f850987 | 2014-10-08 12:03:19 +0530 | [diff] [blame] | 55 | "erpnext.stock.reorder_item.reorder_item", |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 56 | "erpnext.setup.doctype.email_digest.email_digest.send", |
| 57 | "erpnext.support.doctype.support_ticket.support_ticket.auto_close_tickets" |
Neil Trini Lasrado | 1cdfbdb | 2014-10-07 17:41:29 +0530 | [diff] [blame] | 58 | "erpnext.accounts.doctype.fiscal_year.fiscal_year.auto_create_fiscal_year" |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 59 | ], |
| 60 | "daily_long": [ |
| 61 | "erpnext.setup.doctype.backup_manager.backup_manager.take_backups_daily" |
| 62 | ], |
| 63 | "weekly_long": [ |
| 64 | "erpnext.setup.doctype.backup_manager.backup_manager.take_backups_weekly" |
| 65 | ] |
| 66 | } |
Anand Doshi | 7f41ff2 | 2014-06-26 12:02:55 +0530 | [diff] [blame] | 67 | |
Rushabh Mehta | 3daa49a | 2014-10-21 16:16:30 +0530 | [diff] [blame] | 68 | default_mail_footer = """<div style="padding: 7px; text-align: right;"> |
| 69 | <a style="color: #888; font-size: 80%;" href="https://erpnext.com">Sent via ERPNext</a></div>""" |