diff --git a/htdocs/mrp/mo_card.php b/htdocs/mrp/mo_card.php index 70aebccad16..f60710d9da1 100644 --- a/htdocs/mrp/mo_card.php +++ b/htdocs/mrp/mo_card.php @@ -162,7 +162,7 @@ if (empty($reshook)) { $res = $object->add_object_linked('mo', $mo_parent->id); } - header("Location: ".dol_buildpath('/mrp/mo_list.php', 1)); + header("Location: ".dol_buildpath('/mrp/mo_card.php?id='.$moline->fk_mo, 1)); exit; }