Odoo Help


Duplication of a product with variants creates a new product without variants

William Beverly
on 8/22/14, 11:49 AM 1,339 views

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?


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

Fabien Pinckaers (fp)
on 9/13/14, 11:41 AM

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

William Beverly
on 9/18/14, 11:28 AM
Josse Colpaert (jco)
On 9/13/14, 3:10 PM

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. 

William Beverly
On 9/12/14, 11:13 AM

Anyone has suggestions or an input on this question?

Michael St-Georges
On 9/12/14, 8:14 PM

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.

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

2 follower(s)


Asked: 8/22/14, 11:49 AM
Seen: 1339 times
Last updated: 3/16/15, 8:10 AM