diff --git a/htdocs/product/stock/product.php b/htdocs/product/stock/product.php
index 1efc3924aa7315f58488292c3ab54445ea792a11..352750295afa488e26f8ceff485d434e94a7fa10 100644
--- a/htdocs/product/stock/product.php
+++ b/htdocs/product/stock/product.php
@@ -199,7 +199,8 @@ if ($action == "transfert_stock" && ! $cancel)
 
 				// Define value of products moved
 				$pricesrc=0;
-				if (isset($product->stock_warehouse[GETPOST("id_entrepot_source")]->pmp)) $pricesrc=$product->stock_warehouse[GETPOST("id_entrepot_source")]->pmp;
+				//if (isset($product->stock_warehouse[GETPOST("id_entrepot_source")]->pmp)) $pricesrc=$product->stock_warehouse[GETPOST("id_entrepot_source")]->pmp;
+				if (isset($product->pmp)) $pricesrc=$product->pmp;
 				$pricedest=$pricesrc;
 
 				$pdluoid=GETPOST('pdluoid','int');