Merge pull request #8911 from fappels/develop_fix_properties_for_trigger
FIX stock movement trigger is missing some data
This commit is contained in:
commit
60ce5fb87e
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user