Set home page for LMS User

This commit is contained in:
scmmishra 2018-11-03 18:03:35 +05:30 committed by Aditya Hase
parent 8b8db54ef4
commit 734d3e084c

View File

@ -11,6 +11,7 @@ app_email = "info@erpnext.com"
app_license = "GNU General Public License (v3)"
source_link = "https://github.com/frappe/erpnext"
develop_version = '12.x.x-develop'
error_report_email = "support@erpnext.com"
@ -168,6 +169,10 @@ default_roles = [
{'role': 'Student', 'doctype':'Student', 'email_field': 'student_email_id'},
]
role_home_page = {
"LMS User": "academy"
}
has_website_permission = {
"Sales Order": "erpnext.controllers.website_list_for_contact.has_website_permission",
"Quotation": "erpnext.controllers.website_list_for_contact.has_website_permission",