Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
6373 Переглядів

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
груд. 24
1419
3
груд. 22
6139
1
груд. 22
5954
1
лист. 22
3040
2
лют. 21
13168