Merge pull request #24687 from atm-lena/NEW_Workstation_MoFromBom
Create Mo From Bom : workstation
This commit is contained in:
commit
f39efbf274
@ -736,6 +736,7 @@ class Mo extends CommonObject
|
||||
$moline->position = $line->position;
|
||||
$moline->qty_frozen = $line->qty_frozen;
|
||||
$moline->disable_stock_change = $line->disable_stock_change;
|
||||
if (!empty($line->fk_default_workstation)) $moline->fk_default_workstation = $line->fk_default_workstation;
|
||||
|
||||
$resultline = $moline->create($user, false); // Never use triggers here
|
||||
if ($resultline <= 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user