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

Hello..

i'm trying to import this dl.dropboxusercontent. com/u/57978373/sample.partner.csv

But keep getting this error current transaction is aborted, commands ignored until end of transaction block.

What should I do? Thanks

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

You are seeing a PostgreSQL database error. OpenERP began an insert transaction which then failed. It ignored that failure and continued trying to use the SAME TRANSACTION to run another insert. PostgreSQL threw the exception on the second, correctly formed insert because OpenERP tried using a broken transaction to do additional work. Correctly, PostgreSQL does not allow this.

I think it is certain that your file sample.partner.csv contains illegal Comma Separated Value (CSV) formatting that OpenERP fails to notice. (A bug! You should report it.)

Solution : Divide and conquer! Try removing rows and columns until you get a succesfull load. That will help you pin point the culprit.

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

please try to update your module

that means the fields of python file not the same of the table in database

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

Hi i had the same error, and i found it's when you put in a cell an enumration of several id : you must do like this "31, 51" and not "31,51" you need a space after the coma

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
พ.ย. 16
5876
0
มี.ค. 15
3978
1
มี.ค. 15
8705
4
มี.ค. 15
28446
0
มี.ค. 15
4623