forked from Wavyzz/dolibarr
fix parent line on create with origin
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user