forked from Wavyzz/dolibarr
Merge pull request #20074 from altairisfr/fix_parentline_13.0
More generic management of parentline
This commit is contained in:
@@ -1056,7 +1056,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