diff --git a/addons/hr_attendance/models/res_config.py b/addons/hr_attendance/models/res_config.py index d2f06ce6cb5..917a3e25c5f 100644 --- a/addons/hr_attendance/models/res_config.py +++ b/addons/hr_attendance/models/res_config.py @@ -7,6 +7,7 @@ from odoo import fields, models class BaseConfigSettings(models.TransientModel): _inherit = 'base.config.settings' - group_attendance_use_pin = fields.Selection([(0, 'Employees do not need to enter their PIN to check in manually in the "Kiosk Mode".'), - (1, 'Employees must enter their PIN to check in manually in the "Kiosk Mode".')], - string='Employee PIN', help='Enable or disable employee PIN identification at check in', implied_group="hr_attendance.group_hr_attendance_use_pin") + group_attendance_use_pin = fields.Boolean(string='Employee PIN', + implied_group="hr_attendance.group_hr_attendance_use_pin") + module_hr_timesheet = fields.Boolean(string='Timesheets') + module_hr_holidays = fields.Boolean(string='Leave Management') diff --git a/addons/hr_attendance/views/res_config_view.xml b/addons/hr_attendance/views/res_config_view.xml index 9e1b9b5ef4c..fcd5bf31638 100644 --- a/addons/hr_attendance/views/res_config_view.xml +++ b/addons/hr_attendance/views/res_config_view.xml @@ -7,12 +7,50 @@
-
- - - + +

Check-In/Out

+
+
+
+ +
+
+
+
+
+

Recommended Apps

+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+