Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
8328 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
8081
2
bře 23
47212
2
pro 23
58262
0
bře 22
2716
3
čvn 20
11045