Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
8320 Lượt xem

While importing employee attendance data got this error :

'NoneType' object has no attribute 'tz'

Can anybody help please!!!

 

 

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 23
8073
2
thg 3 23
47199
2
thg 12 23
58242
0
thg 3 22
2688
3
thg 6 20
11035