跳至内容
菜单
此问题已终结
2 回复
8337 查看

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.

形象
丢弃
相关帖文 回复 查看 活动
2
9月 23
8083
2
3月 23
47218
2
12月 23
58264
0
3月 22
2727
3
6月 20
11050