Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
8312 Weergaven

While importing employee attendance data got this error :

'NoneType' object has no attribute 'tz'

Can anybody help please!!!

 

 

Avatar
Annuleer
Auteur Beste antwoord

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

Avatar
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
sep. 23
8068
2
mrt. 23
47195
2
dec. 23
58237
0
mrt. 22
2684
3
jun. 20
11033