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

No matter what I have tried, I can't import a datetime field from an xlsx file in odoo 16.

I go to "Import records", then load an xlsx file and then I press test. I get the following error:   Column payment_date contains incorrect values. Error in line 204: unconverted data remains: 2022-11-21 09:34:46

I've tried with a variety of date time formats (including the one in language settings), but it always concludes to the above error message...

Which is the correct format to import a datetime field from an xlsx file?

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

Found the source of the problem and solved it. For people who may encounter the same problem, in my case the problem was that the first rows of the excel file had an empty value for the datetime. When I sorted the excel to bring the rows with datetime values on top, it worked. So, the solution is to sort the excel file to bring first the entries with a value and leave the empty values at the end of the list.

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

The module named "VKS Import Excel" can help you solve this problem easily: https://apps.odoo.com/apps/modules/16.0/vks_import_excel.

Please contact me via email anhtuan.acoi@gmail.com if you need further assistance.

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

Hi Panos Anagnostakis,

I think this video can help you: https://www.youtube.com/watch?v=etMYrOJyaiU&list=PLSKcWRTtEl5qzvRaI-VTGavfReiHS_EEb&index=2 (starting at minute 55 in this video)

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

Didn't worked for me

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 10 20
4677
2
thg 12 23
1940
1
thg 10 21
3358
8
thg 1 25
6832
1
thg 4 25
1517