summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorLucas Lefèvre <lul@odoo.com>2019-06-12 08:37:28 +0000
committerLucas Lefèvre <lul@odoo.com>2019-06-12 12:24:36 +0000
commit84517aabf66d0911f414f59d8568fc938ad4e7cd (patch)
treedae682aad6d907cc82b9df34b658c7075e6eb6e2 /addons/web/static/src
parent779af549b41273987c8798e70c0e5361e251a8d1 (diff)
[FIX] hr_attendance: Allow to checkin and checkout
Since 1594f82 a user can no longer checkin/checkout if not in kiosk mode (warning "Wrong Pin"). The mentionned commit revealed a previous mistake: the pin was never checked if `None` was provided because superuser does not have group `hr_attendance.group_hr_attendance_use_pin`. Pin checking should work as follows: - For the logged in user: he should be able to checkin/checkout without his pin through the "My attendances" action and with his pin in kiosk mode - For other employees: they should only be able to checkin/checkout with their pin through kiosk mode. The opportunity is taken to make method `attendance_action_change` private. closes odoo/odoo#34058 Signed-off-by: Romain Libert (rli) <rli@odoo.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions