diff --git a/addons/mrp/models/mrp_routing.py b/addons/mrp/models/mrp_routing.py index 157a6066ca1..77376ab0372 100644 --- a/addons/mrp/models/mrp_routing.py +++ b/addons/mrp/models/mrp_routing.py @@ -107,6 +107,9 @@ class MrpRoutingWorkcenter(models.Model): custom control. """ self.ensure_one() + # skip operation line if archived + if not self.active: + return True if product._name == 'product.template': return False return not product._match_all_variant_values(self.bom_product_template_attribute_value_ids)