MoLine origin is bomline not bom
This commit is contained in:
parent
0e89dd7344
commit
3216120f44
@ -656,7 +656,7 @@ class Mo extends CommonObject
|
|||||||
|
|
||||||
$moline->fk_mo = $this->id;
|
$moline->fk_mo = $this->id;
|
||||||
$moline->origin_id = $line->id;
|
$moline->origin_id = $line->id;
|
||||||
$moline->origin_type = 'bom';
|
$moline->origin_type = 'bomline';
|
||||||
if ($line->qty_frozen) {
|
if ($line->qty_frozen) {
|
||||||
$moline->qty = $line->qty; // Qty to consume does not depends on quantity to produce
|
$moline->qty = $line->qty; // Qty to consume does not depends on quantity to produce
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user