From e0f960548352bd68a1dd5b2eae80c736db90f4b4 Mon Sep 17 00:00:00 2001 From: fappels Date: Sun, 3 Jun 2018 11:05:02 +0200 Subject: [PATCH] Fix add missing properties for trigger --- htdocs/product/stock/class/mouvementstock.class.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/htdocs/product/stock/class/mouvementstock.class.php b/htdocs/product/stock/class/mouvementstock.class.php index 35b22cd8759..825034b87cb 100644 --- a/htdocs/product/stock/class/mouvementstock.class.php +++ b/htdocs/product/stock/class/mouvementstock.class.php @@ -119,9 +119,15 @@ class MouvementStock extends CommonObject // Set properties of movement $this->product_id = $fk_product; - $this->entrepot_id = $entrepot_id; + $this->entrepot_id = $entrepot_id; // deprecated + $this->warehouse_id = $entrepot_id; $this->qty = $qty; $this->type = $type; + $this->price = $price; + $this->label = $label; + $this->inventorycode = $inventorycode; + $this->datem = $now; + $this->batch = $batch; $mvid = 0;