Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
8346 Vues

While importing employee attendance data got this error :

'NoneType' object has no attribute 'tz'

Can anybody help please!!!

 

 

Avatar
Ignorer
Auteur Meilleure réponse

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

Avatar
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
2
sept. 23
8084
2
mars 23
47224
2
déc. 23
58270
0
mars 22
2732
3
juin 20
11056