콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
5 답글
8565 화면

Hello. I'm getting this error.
<type 'exceptions.AssertionError'>: External ID conflict, 10009 already refers to a `product.product` record, you can't define a `product.template` record with this ID.

I've checked the logs, and Odoo is trying to INSERT into database, instead of updating record.

Is anybody else having this problem?

Thanks 

아바타
취소

try to put -u all.

작성자

Thank you Annadurai, but if I am importing through csv, where do I put -u all?

베스트 답변

A product in Odoo is two things:  a product.template record and a product.product record.

Make sure you and your script knows why and when the script should be updating one versus the other.

아바타
취소
베스트 답변

Hello everyone,

I have the same problem

But I noticed that I can update only through the same module I used to insert the products for the first time, It seems that it is a validation between different modules to overcome duplicate External ID

Example:

I imported the products firstly through the  invoicing module /Sales/Sellable products

so when updating these products I have to import from the same path

I hope this might help

아바타
취소
베스트 답변

I am also experiencing this same issue. I will update as soon as I find some solution.

아바타
취소
관련 게시물 답글 화면 활동
1
8월 24
1750
4
11월 23
32186
1
3월 23
2927
3
1월 21
41168
1
3월 20
4651