diff --git a/addons/product/models/product_attribute.py b/addons/product/models/product_attribute.py index 5ad2032a7c99c8fd5d0d40c2ed788a0189d2b69e..ede2fe40d95743bd349b36a701c99623eda33e41 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.