Odoo Help


Error "current transaction is aborted.." on import CSV in v7

Rahmat Awaludin
on 4/12/13, 10:02 PM 3,562 views


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



| 5 6 8
Cornwall, Canada

Analysing, designing, coding and mentoring since 1975. Kilobytes to terabytes. Punch cards to punchy sites. My OpenERP video series: http://www.youtube.com/playlist?list=PLq7op4J183lX44ZlXPiHxUpRvmmRDtxye My Google Speadsheets --> OpenERP Data Pump project: http://martinhbramwell.github.io/GData_OpenERP_Data_Pump My email (with spaces removed) : mhb . warehouseman @ gmail . com

On 4/13/13, 8:28 AM

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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 4/12/13, 10:02 PM
Seen: 3562 times
Last updated: 3/16/15, 8:10 AM