跳至內容
選單
此問題已被標幟
2 回覆
8127 瀏覽次數

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
7781
2
3月 23
46874
2
12月 23
57796
0
3月 22
2451
3
6月 20
10760