Odoo Help


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

on 11/11/14, 2:08 PM 1,729 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"


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

1 follower(s)


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