2
0
forked from Wavyzz/dolibarr

Merge pull request #20074 from altairisfr/fix_parentline_13.0

More generic management of parentline
This commit is contained in:
Laurent Destailleur
2022-02-16 20:25:04 +01:00
committed by GitHub
5 changed files with 9 additions and 6 deletions

View File

@@ -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;
}
}