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

It looks like when a new attribute is added to a product that has some variants, Odoo may WIPE OUT all existing variants and recreate them!

This means all inventory data, relation to any BOM, etc. are deleted for good!

It happens when Odoo can not figure out what should happen to existing variants when a new attribute is added and AT THE SAME TIME user is providing more than one value for the new attribute. This only happens if the new attribute's setting for "Variant Creation Mode" is set to "Instantly" which is the default setting by the way and something that can not be changed later.

Wiping out data without warning can lead to unexpected loss of data. Is there a way to stop Odoo from deleting and issue an error instead? or at least issue warnings when this is about to happen ?


I just confirmed this also the case in Odoo 17.0

아바타
취소
작성자

Experimenting more with adding/deleting attributes from a product I found out Odoo actually unlinks existing variants from the product instead of deleting them as initially indicated in my post. It archives them. They stay in sale orders where they were used.

This is still not good we end up with duplicates and all reports will show the old archived variants and the one Odoo created in their place show up as separate products.

Yes, it's not ideal. The "old" variants are archived, as you say, and you would have to do an inventory adjustment to put any stock back to the "new" variant. The archived variants cannot be selected on sales orders (etc.) but it can certainly cause confusion. https://odootricks.tips/using-variants-colour-size-fit/

Facing the same problem. Any solution?

베스트 답변

The "old" variants are archived, and you will have to do a push back of inventory to the "new" variant. Archived variants cannot be picked up on sales orders (etc) but can certainly be confusing. 

아바타
취소
베스트 답변

Hey, can you confirm if the same issue still remains after you've posted it 7 month ago? I can't recreate this. 

Kinds regards, 

Yura

아바타
취소
관련 게시물 답글 화면 활동
1
3월 25
4873
2
1월 25
1554
0
3월 15
3475
2
11월 24
1507
1
7월 24
2883