diff --git a/modules/product/product.py b/modules/product/product.py index e5d0955d1a..1dd331fdd7 100644 --- a/modules/product/product.py +++ b/modules/product/product.py @@ -929,9 +929,8 @@ class ProductReplace(Wizard): destination = self.ask.destination source.replaced_by = destination - if source.can_be_deactivated(): - source.active = False source.save() + self.model.deactivate_replaced([source]) return 'end'