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

When duplicating of a product with variants, Odoo creates a new product (copy), but without variants: they have all disappeared. This is probably a standard decision by the editor.

However, i'm sure other people have hade the need to duplicate a product and keep variants. Is there a module to allow this?

Thanks

아바타
취소

What version are you using? This totally changed between v7 and v8.

작성자

I should have been more clear from start: V8.0

베스트 답변

In v8 it is not copied (which is the default behaviour if the developer does not specify it for one/many2many).  You could put copy=True in product_variant_ids and attribute_line_ids in the code.  I wonder if it would not copy too many things if we put in standard. 

아바타
취소
작성자 베스트 답변

Anyone has suggestions or an input on this question?
Thanks,

아바타
취소
베스트 답변

What happens is you are dupplicating the product.template record and not the product.product associated. A solution might be to use https://www.odoo.com/apps/trunk/product_variant_multi/ if it fits your setup.

아바타
취소
관련 게시물 답글 화면 활동
1
12월 24
1354
3
12월 22
5998
1
12월 22
5745
1
11월 22
2939
2
2월 21
12897