WIP : fix fetch mo parent to create mo child
This commit is contained in:
parent
81e75f401e
commit
9e5d5a6295
@ -151,7 +151,7 @@ if (empty($reshook)) {
|
|||||||
|
|
||||||
$objectbomchildline->fetch($id_bom_line);
|
$objectbomchildline->fetch($id_bom_line);
|
||||||
|
|
||||||
$TMoLines = $moline->fetchAll('', '', '1', '', array('origin_id' => $id_bom_line));
|
$TMoLines = $moline->fetchAll('DESC', 'rowid', '1', '', array('origin_id' => $id_bom_line));
|
||||||
|
|
||||||
foreach ($TMoLines as $moline) {
|
foreach ($TMoLines as $moline) {
|
||||||
$_POST['fk_bom'] = $objectbomchildline->fk_bom_child;
|
$_POST['fk_bom'] = $objectbomchildline->fk_bom_child;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user