Odoo Help


This community 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.


[8.0] "duplicate key value violates unique constraint..." on import

on 11/11/14, 2:08 PM 1,006 views

What does this error mean?

duplicate key value violates unique constraint "product_attribute_value_product_product_rel_att_id_prod_id_key" DETAIL: Key (att_id, prod_id)

This is the csv file I exported. When I try to reimport it I get this error. When I delete the second row it works. 

"__export__.product_template_3","ProductName","Stockable Product","Att1,Att2","ProductAtt","12345"


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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 11/11/14, 2:08 PM
Seen: 1006 times
Last updated: 3/16/15, 8:10 AM