Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
8133 Vistas

While importing employee attendance data got this error :

'NoneType' object has no attribute 'tz'

Can anybody help please!!!

 

 

Avatar
Descartar
Autor Mejor respuesta

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

Avatar
Descartar
Mejor respuesta

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
Publicaciones relacionadas Respuestas Vistas Actividad
2
sept 23
7786
2
mar 23
46884
2
dic 23
57809
0
mar 22
2457
3
jun 20
10767