[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: cfa2993615150416b801ce942f18339065678648 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user