Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
8313 Vizualizări

While importing employee attendance data got this error :

'NoneType' object has no attribute 'tz'

Can anybody help please!!!

 

 

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
sept. 23
8070
2
mar. 23
47197
2
dec. 23
58238
0
mar. 22
2685
3
iun. 20
11033