Skip to Content
Menu
This question has been flagged
2 Replies
8131 Rodiniai

While importing employee attendance data got this error :

'NoneType' object has no attribute 'tz'

Can anybody help please!!!

 

 

Portretas
Atmesti
Autorius Best Answer

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

Portretas
Atmesti
Best Answer

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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
rugs. 23
7784
2
kov. 23
46881
2
gruod. 23
57806
0
kov. 22
2456
3
birž. 20
10765