Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
8166 Zobrazení

While importing employee attendance data got this error :

'NoneType' object has no attribute 'tz'

Can anybody help please!!!

 

 

Avatar
Zrušit
Autor Nejlepší odpověď

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

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
zář 23
7807
2
bře 23
46908
2
pro 23
57833
0
bře 22
2479
3
čvn 20
10782