Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
8314 Представления

While importing employee attendance data got this error :

'NoneType' object has no attribute 'tz'

Can anybody help please!!!

 

 

Аватар
Отменить
Автор Лучший ответ

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

Аватар
Отменить
Лучший ответ

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
сент. 23
8070
2
мар. 23
47197
2
дек. 23
58238
0
мар. 22
2685
3
июн. 20
11034