Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
5139 Widoki

Hi, 

In Kiosk Mode, when checking in it says "Checked In at Invalid". It usually indicates the checked in time right? What seems to be the problem when it indicates an invalid time?

Awatar
Odrzuć
Najlepsza odpowiedź

I had a same problem, I found out manual attendance has a problem with IE, check it with other browsers.

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

In code they are calling the check-in time directly

<h1 class="o_hr_attendance_validation">
Checked in at <t t-esc="widget.attendance.check_in_time"/>
</h1>

So my best guess is that you have somehow saved wrong data to database(not in datetime format). Please check if you have added any 3rd party module which changes this data or check values stored in table hr_attendance.

Awatar
Odrzuć
Autor

I just inherited the def attendance_action_change(self) in hr_employee.py under hr_attendance module, but I added super(HrEmployee, self).attendance_action_change() then added my function. But my function is writing in a different model. So I don't know what is the problem.

Powiązane posty Odpowiedzi Widoki Czynność
1
maj 25
1220
2
kwi 24
4757
1
lut 24
2105
0
lut 24
2953
6
sty 23
17123