Update mo_production.php
This commit is contained in:
parent
475d719014
commit
1d4fc65fbe
1 changed files with 1 additions and 1 deletions
|
|
@ -391,7 +391,7 @@ if (empty($reshook)) {
|
|||
$moline->batch = GETPOST('batchtoproduce-'.$line->id.'-'.$i);
|
||||
$moline->role = 'produced';
|
||||
$moline->fk_mrp_production = $line->id;
|
||||
$moline->fk_stock_movement = $idstockmove == 0 ? null : $idstockmove;
|
||||
$moline->fk_stock_movement = (($idstockmove == 0) ? null : $idstockmove);
|
||||
$moline->fk_user_creat = $user->id;
|
||||
|
||||
$resultmoline = $moline->create($user);
|
||||
|
|
|
|||
Loading…
Reference in a new issue