Skip to content
Snippets Groups Projects
Commit 4c427de6 authored by Damien Bouvy's avatar Damien Bouvy
Browse files

[FIX] product: incorrect super call


Unfortunately caught in a really wide try/except clause where it was
completely silenced, causing a lot of stuff to be archived instead of
deleted.

closes odoo/odoo#43543

X-original-commit: cfa29936
Signed-off-by: default avatarDamien Bouvy (dbo) <dbo@odoo.com>
parent e927d1e8
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment