diff --git a/mrp_production_batch/models/stock_picking_type.py b/mrp_production_batch/models/stock_picking_type.py
index 90be6be27..4cb68cb1d 100644
--- a/mrp_production_batch/models/stock_picking_type.py
+++ b/mrp_production_batch/models/stock_picking_type.py
@@ -65,12 +65,13 @@ def _compute_mo_batch_count(self):
def mrp_production_batch_action(self):
tree_view = self.env.ref("mrp_production_batch.mrp_production_batch_tree_view")
+ form_view = self.env.ref("mrp_production_batch.mrp_production_batch_form_view")
return {
"name": ("Detailed Operations"),
"type": "ir.actions.act_window",
- "view_mode": "tree",
+ "view_mode": "tree,form",
"res_model": "mrp.production.batch",
- "views": [(tree_view.id, "tree")],
+ "views": [(tree_view.id, "tree"), (form_view.id, "form")],
"view_id": tree_view.id,
"domain": [("id", "in", self.mo_batches.ids)],
}
diff --git a/mrp_production_batch/views/stock_picking_views.xml b/mrp_production_batch/views/stock_picking_views.xml
index 378293b0e..50ea90f1a 100644
--- a/mrp_production_batch/views/stock_picking_views.xml
+++ b/mrp_production_batch/views/stock_picking_views.xml
@@ -25,26 +25,30 @@