From 4d828499ac9e4c66385c4b6600582980fdb34a6c Mon Sep 17 00:00:00 2001 From: atm-quentin Date: Mon, 26 Sep 2016 14:41:30 +0200 Subject: [PATCH] Update entrepot.class.php --- htdocs/product/stock/class/entrepot.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/stock/class/entrepot.class.php b/htdocs/product/stock/class/entrepot.class.php index 92f3e8cbff7..30165a4f732 100644 --- a/htdocs/product/stock/class/entrepot.class.php +++ b/htdocs/product/stock/class/entrepot.class.php @@ -224,7 +224,7 @@ class Entrepot extends CommonObject if (! $error && empty($notrigger)) { // Call trigger - $result=$this->call_trigger('STOCK_DELETE',$user); + $result=$this->call_trigger('WAREHOUSE_DELETE',$user); if ($result < 0) { $error++; } // End call triggers }