diff --git a/addons/product/models/product_template.py b/addons/product/models/product_template.py index b249acb9fda..2c73d248a92 100644 --- a/addons/product/models/product_template.py +++ b/addons/product/models/product_template.py @@ -120,7 +120,7 @@ class ProductTemplate(models.Model): color = fields.Integer('Color Index') is_product_variant = fields.Boolean(string='Is a product variant', compute='_compute_is_product_variant') - attribute_line_ids = fields.One2many('product.template.attribute.line', 'product_tmpl_id', 'Product Attributes') + attribute_line_ids = fields.One2many('product.template.attribute.line', 'product_tmpl_id', 'Product Attributes', copy=True) valid_product_template_attribute_line_ids = fields.Many2many('product.template.attribute.line', compute="_compute_valid_attributes", string='Valid Product Attribute Lines', help="Technical compute")