diff --git a/mrp_component_operation/models/mrp_component_operation.py b/mrp_component_operation/models/mrp_component_operation.py index 1ffeb7a59..783e5ab03 100644 --- a/mrp_component_operation/models/mrp_component_operation.py +++ b/mrp_component_operation/models/mrp_component_operation.py @@ -70,3 +70,4 @@ class MrpComponentOperation(models.Model): string="Sequence", help="Gives the sequence order when displaying the list of component operations", ) + active = fields.Boolean(default=True) diff --git a/mrp_component_operation/views/mrp_component_operation_views.xml b/mrp_component_operation/views/mrp_component_operation_views.xml index 91e553192..958174fb4 100644 --- a/mrp_component_operation/views/mrp_component_operation_views.xml +++ b/mrp_component_operation/views/mrp_component_operation_views.xml @@ -6,11 +6,18 @@
+

+ @@ -62,6 +69,23 @@ + + mrp.component.operation.search + mrp.component.operation + + + + + + + + + + Component Operation mrp.component.operation