Fix add missing properties for trigger

This commit is contained in:
fappels 2018-06-03 11:05:02 +02:00
parent a6104d18a9
commit e0f9605483

View File

@ -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;