Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
8331 Переглядів

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
8082
2
бер. 23
47217
2
груд. 23
58264
0
бер. 22
2724
3
черв. 20
11048