diff --git a/hrms/patches.txt b/hrms/patches.txt index ef6c73e872..e579803870 100644 --- a/hrms/patches.txt +++ b/hrms/patches.txt @@ -8,7 +8,7 @@ hrms.patches.post_install.update_allocate_on_in_leave_type hrms.patches.v14_0.create_custom_field_for_appraisal_template hrms.patches.post_install.update_performance_module_changes #2023-04-17 hrms.patches.v14_0.update_payroll_frequency_to_none_if_salary_slip_is_based_on_timesheet -hrms.patches.v14_0.update_ess_user_access +hrms.patches.v14_0.update_ess_user_access #2023-08-14 execute:frappe.db.set_default("date_format", frappe.db.get_single_value("System Settings", "date_format")) hrms.patches.v14_0.create_vehicle_service_item hrms.patches.v15_0.notify_about_loan_app_separation \ No newline at end of file diff --git a/hrms/setup.py b/hrms/setup.py index 0274a4360a..de1482dadf 100644 --- a/hrms/setup.py +++ b/hrms/setup.py @@ -503,7 +503,7 @@ def add_non_standard_user_types(): user_type_limit = {} for user_type, data in user_types.items(): - user_type_limit.setdefault(frappe.scrub(user_type), 20) + user_type_limit.setdefault(frappe.scrub(user_type), 30) update_site_config("user_type_doctype_limit", user_type_limit) @@ -522,11 +522,13 @@ def get_user_types_data(): # masters "Holiday List": ["read"], "Employee": ["read", "write"], + "Company": ["read"], # payroll "Salary Slip": ["read"], "Employee Benefit Application": ["read", "write", "create", "delete"], # expenses "Expense Claim": ["read", "write", "create", "delete"], + "Expense Claim Type": ["read"], "Employee Advance": ["read", "write", "create", "delete"], # leave and attendance "Leave Application": ["read", "write", "create", "delete"],