2
0
forked from Wavyzz/dolibarr

fix parent line on create with origin

This commit is contained in:
Christophe Battarel
2022-02-15 10:23:43 +01:00
parent 7a1c4172a6
commit 6c6c854eae
2 changed files with 3 additions and 3 deletions

View File

@@ -401,7 +401,7 @@ if (empty($reshook))
}
// Defined the new fk_parent_line
if ($result > 0 && $lines[$i]->product_type == 9) {
if ($result > 0) {
$fk_parent_line = $result;
}
}