From 7812baf8aae47ac7f8bd2e79adff2f5565ec5ab8 Mon Sep 17 00:00:00 2001
From: wdammak <26695620+wdammak@users.noreply.github.com>
Date: Mon, 28 Jan 2019 16:12:18 +0100
Subject: [PATCH] Cleaning after using the movement card
---
htdocs/product/stock/movement_list.php | 70 --------------------------
1 file changed, 70 deletions(-)
diff --git a/htdocs/product/stock/movement_list.php b/htdocs/product/stock/movement_list.php
index b790226cc61..ce63415d6b7 100644
--- a/htdocs/product/stock/movement_list.php
+++ b/htdocs/product/stock/movement_list.php
@@ -400,28 +400,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 . "movement/";
-$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 . "/movement/";
- include DOL_DOCUMENT_ROOT.'/core/actions_massactions.inc.php';
-}
-
-
-
/*
* View
*/
@@ -1141,54 +1119,6 @@ else
}
-
-/*
- * Documents generes
- */
-//Area for doc and last events of warehouse are stored on the main card of warehouse
-$modulepart='movement';
-
-if ($action != 'create' && $action != 'edit' && $action != 'delete' && $id>0)
-{
- print '
';
- print '