Merge branch 'develop_of_consumption_selectbatch' of github.com:atm-lena/dolibarr into develop_of_consumption_selectbatch

This commit is contained in:
atm-lena 2022-02-07 10:57:50 +01:00
commit ed2ff38318

View File

@ -184,7 +184,6 @@ if (empty($reshook)) {
$pos = 0;
// Process line to consume
foreach ($object->lines as $line) {
if ($line->role == 'toconsume') {
$tmpproduct = new Product($db);
$tmpproduct->fetch($line->fk_product);