diff --git a/product.py b/product.py index a5a13a4a76..c46f68b610 100644 --- a/product.py +++ b/product.py @@ -44,7 +44,7 @@ class Template(metaclass=PoolMeta): to_copy = [] for template, new_template in zip(templates, new_templates): to_copy.extend( - c for c in template.components if not c.product) + c for c in template.components if not c.parent_product) old2new[template.id] = new_template.id if to_copy: Component.copy(to_copy, {