forked from Wavyzz/dolibarr
fix parent line on create with no originid
This commit is contained in:
@@ -1054,7 +1054,7 @@ class Commande extends CommonOrder
|
||||
return -1;
|
||||
}
|
||||
// Defined the new fk_parent_line
|
||||
if ($result > 0 && $line->product_type == 9) {
|
||||
if ($result > 0) {
|
||||
$fk_parent_line = $result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user