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" |
Pratik Vyas | 4e81e40 | 2014-09-29 16:10:04 +0600 | [diff] [blame] | 7 | app_version = "4.5.1" |
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" |
| 14 | |
| 15 | after_install = "erpnext.setup.install.after_install" |
| 16 | |
| 17 | boot_session = "erpnext.startup.boot.boot_session" |
| 18 | notification_config = "erpnext.startup.notifications.get_notification_config" |
| 19 | |
| 20 | dump_report_map = "erpnext.startup.report_data_map.data_map" |
| 21 | update_website_context = "erpnext.startup.webutils.update_website_context" |
| 22 | |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 23 | on_session_creation = "erpnext.startup.event_handlers.on_session_creation" |
| 24 | before_tests = "erpnext.setup.utils.before_tests" |
| 25 | |
Rushabh Mehta | 5df521b | 2014-06-17 14:21:26 +0530 | [diff] [blame] | 26 | website_generators = ["Item Group", "Item", "Sales Partner"] |
| 27 | |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 28 | standard_queries = "Customer:erpnext.selling.doctype.customer.customer.get_customer_list" |
| 29 | |
Anand Doshi | 75042fd | 2014-05-02 19:43:33 +0530 | [diff] [blame] | 30 | permission_query_conditions = { |
| 31 | "Feed": "erpnext.home.doctype.feed.feed.get_permission_query_conditions", |
Anand Doshi | 85479bc | 2014-06-04 18:15:43 +0530 | [diff] [blame] | 32 | "Note": "erpnext.utilities.doctype.note.note.get_permission_query_conditions" |
Anand Doshi | 75042fd | 2014-05-02 19:43:33 +0530 | [diff] [blame] | 33 | } |
| 34 | |
| 35 | has_permission = { |
| 36 | "Feed": "erpnext.home.doctype.feed.feed.has_permission", |
Anand Doshi | 85479bc | 2014-06-04 18:15:43 +0530 | [diff] [blame] | 37 | "Note": "erpnext.utilities.doctype.note.note.has_permission" |
Anand Doshi | 75042fd | 2014-05-02 19:43:33 +0530 | [diff] [blame] | 38 | } |
| 39 | |
| 40 | |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 41 | doc_events = { |
| 42 | "*": { |
| 43 | "on_update": "erpnext.home.update_feed", |
| 44 | "on_submit": "erpnext.home.update_feed" |
| 45 | }, |
| 46 | "Comment": { |
| 47 | "on_update": "erpnext.home.make_comment_feed" |
| 48 | }, |
| 49 | "Stock Entry": { |
| 50 | "on_submit": "erpnext.stock.doctype.material_request.material_request.update_completed_qty", |
| 51 | "on_cancel": "erpnext.stock.doctype.material_request.material_request.update_completed_qty" |
Anand Doshi | 648062d | 2014-05-05 16:46:14 +0530 | [diff] [blame] | 52 | }, |
| 53 | "User": { |
Anand Doshi | 4985691 | 2014-05-28 18:49:13 +0530 | [diff] [blame] | 54 | "validate": "erpnext.hr.doctype.employee.employee.validate_employee_role", |
Anand Doshi | a8ce570 | 2014-05-27 13:46:42 +0530 | [diff] [blame] | 55 | "on_update": "erpnext.hr.doctype.employee.employee.update_user_permissions" |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 56 | } |
| 57 | } |
| 58 | |
| 59 | scheduler_events = { |
| 60 | "all": [ |
| 61 | "erpnext.support.doctype.support_ticket.get_support_mails.get_support_mails", |
| 62 | "erpnext.hr.doctype.job_applicant.get_job_applications.get_job_applications", |
| 63 | "erpnext.selling.doctype.lead.get_leads.get_leads" |
| 64 | ], |
| 65 | "daily": [ |
Anand Doshi | d42326b | 2014-09-05 11:20:10 +0530 | [diff] [blame] | 66 | "erpnext.controllers.recurring_document.create_recurring_documents", |
Rushabh Mehta | 4ceb20e | 2014-05-02 12:14:03 +0530 | [diff] [blame] | 67 | "erpnext.stock.utils.reorder_item", |
| 68 | "erpnext.setup.doctype.email_digest.email_digest.send", |
| 69 | "erpnext.support.doctype.support_ticket.support_ticket.auto_close_tickets" |
| 70 | ], |
| 71 | "daily_long": [ |
| 72 | "erpnext.setup.doctype.backup_manager.backup_manager.take_backups_daily" |
| 73 | ], |
| 74 | "weekly_long": [ |
| 75 | "erpnext.setup.doctype.backup_manager.backup_manager.take_backups_weekly" |
| 76 | ] |
| 77 | } |
Anand Doshi | 7f41ff2 | 2014-06-26 12:02:55 +0530 | [diff] [blame] | 78 | |