Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
3486 มุมมอง

Hello everybody, I'm having a strange problem importing a CSV file to my Odoo 15 with ir.attachment records, when I import a csv with 2 or 3 records, it works fine, but if the csv contains like, 10 records for example, I get the following error:

UncaughtClientError > SyntaxError
Uncaught Javascript Error > Unexpected token '
Anyone had the same problem and knows the solution?

Thank you so much!!

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi  Jorge,

I think this video can help you: https://www.youtube.com/watch?v=VMJ0UI1crz4&list=PLSKcWRTtEl5qzvRaI-VTGavfReiHS_EEb&index=3

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Hello Cybrosis, thanks for your answer, the .csv file contains 191 records, all the records are PDFs, I can understand that import 191 pdfs at the same time is impossible, but it looks like strange that with 10 records give that error, do you have any idea?

Thanks!

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

While importing the attachment record, you need to confirm that the data type is not in js file format or any things, some case when you try to import other than pdf, png, jpg, or doc .extension record may get some issues i.e (the data contains as xml or js files), could you please ensure the attachment type?

Hope it helps

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 15
3277
3
พ.ย. 23
5481
2
พ.ค. 15
11062
1
มี.ค. 15
4910
1
มี.ค. 15
6278