diff --git a/addons/product/models/product_attribute.py b/addons/product/models/product_attribute.py index 5ad2032a7c9..ede2fe40d95 100644 --- a/addons/product/models/product_attribute.py +++ b/addons/product/models/product_attribute.py @@ -473,7 +473,7 @@ class ProductTemplateAttributeValue(models.Model): for ptav in self: try: with self.env.cr.savepoint(), tools.mute_logger('odoo.sql_db'): - super(ProductTemplateAttributeLine, ptav).unlink() + super(ProductTemplateAttributeValue, ptav).unlink() except Exception: # We catch all kind of exceptions to be sure that the operation # doesn't fail.