Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
8316 Prikazi

While importing employee attendance data got this error :

'NoneType' object has no attribute 'tz'

Can anybody help please!!!

 

 

Avatar
Opusti
Avtor 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
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
sep. 23
8072
2
mar. 23
47197
2
dec. 23
58239
0
mar. 22
2686
3
jun. 20
11034