Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
6285 Tampilan

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

Avatar
Buang

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

Penulis

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

Jawaban Terbai

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. 

Avatar
Buang
Penulis Jawaban Terbai

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

Avatar
Buang
Jawaban Terbai

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.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Des 24
1350
3
Des 22
5992
1
Des 22
5741
1
Nov 22
2935
2
Feb 21
12890