Merge pull request #492 from atm-maxime/mko527

New : go directly into supplier invoice number field after cloning
This commit is contained in:
Laurent Destailleur 2012-11-27 11:08:14 -08:00
commit 7ee2ce3c21

View File

@ -82,7 +82,7 @@ if ($action == 'confirm_clone' && $confirm == 'yes')
$result=$object->createFromClone($id); $result=$object->createFromClone($id);
if ($result > 0) if ($result > 0)
{ {
header("Location: ".$_SERVER['PHP_SELF'].'?id='.$result); header("Location: ".$_SERVER['PHP_SELF'].'?action=editfacnumber&id='.$result);
exit; exit;
} }
else else