İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
8327 Görünümler

While importing employee attendance data got this error :

'NoneType' object has no attribute 'tz'

Can anybody help please!!!

 

 

Avatar
Vazgeç
Üretici En İyi Yanıt

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

Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Eyl 23
8081
2
Mar 23
47212
2
Ara 23
58262
0
Mar 22
2716
3
Haz 20
11045