Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
8352 Visualizzazioni

While importing employee attendance data got this error :

'NoneType' object has no attribute 'tz'

Can anybody help please!!!

 

 

Avatar
Abbandona
Autore Risposta migliore

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

Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
set 23
8088
2
mar 23
47231
2
dic 23
58277
0
mar 22
2741
3
giu 20
11058