Skip to Content
Menú
This question has been flagged
2 Respostes
8309 Vistes

While importing employee attendance data got this error :

'NoneType' object has no attribute 'tz'

Can anybody help please!!!

 

 

Avatar
Descartar
Autor Best Answer

Problem was, I didn't allocate user to one employee, so didn't get timezone for that and hence was the error...

Avatar
Descartar
Best Answer

Make sure every required column is supplied when importing the employees. In this case you are missing a column or the column is not filled in correctly. Most likely something like country_id or language. Something that has a reference to timezone.

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de set. 23
8067
2
de març 23
47193
2
de des. 23
58232
0
de març 22
2684
3
de juny 20
11032