Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
8321 Näkymät

While importing employee attendance data got this error :

'NoneType' object has no attribute 'tz'

Can anybody help please!!!

 

 

Avatar
Hylkää
Tekijä Paras vastaus

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

Avatar
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
syysk. 23
8073
2
maalisk. 23
47199
2
jouluk. 23
58242
0
maalisk. 22
2688
3
kesäk. 20
11035