Skip to Content
Menu
This question has been flagged
2 Replies
8364 Views

While importing employee attendance data got this error :

'NoneType' object has no attribute 'tz'

Can anybody help please!!!

 

 

Avatar
Discard
Author 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
Discard
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
Discard
Related Posts Replies Views Activity
2
Sep 23
8101
2
Mar 23
47272
2
Dec 23
58306
0
Mar 22
2758
3
Jun 20
11082