diff --git a/htdocs/product/stock/movement_list.php b/htdocs/product/stock/movement_list.php index d37271f6480..6c3f5b6b7ce 100644 --- a/htdocs/product/stock/movement_list.php +++ b/htdocs/product/stock/movement_list.php @@ -404,28 +404,6 @@ if ($action == "transfert_stock" && ! $cancel) } -/* - * Build document - */ -/* The builddoc action for object of a movement must be on the movement card -// Actions to build doc -$upload_dir = $conf->stock->dir_output; -$permissioncreate = $user->rights->stock->creer; -include DOL_DOCUMENT_ROOT.'/core/actions_builddoc.inc.php'; -*/ - -if (empty($reshook) && $action != 'remove_file') -{ - $objectclass='MouvementStock'; - $objectlabel='Movements'; - $permtoread = $user->rights->stock->lire; - $permtodelete = $user->rights->stock->supprimer; - $uploaddir = $conf->stock->dir_output; - include DOL_DOCUMENT_ROOT.'/core/actions_massactions.inc.php'; -} - - - /* * View */ @@ -1070,7 +1048,7 @@ if ($resql) { // Inventory code print '