Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
8319 Visninger

While importing employee attendance data got this error :

'NoneType' object has no attribute 'tz'

Can anybody help please!!!

 

 

Avatar
Kassér
Forfatter Bedste svar

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

Avatar
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
2
sep. 23
8073
2
mar. 23
47199
2
dec. 23
58242
0
mar. 22
2688
3
jun. 20
11035