Merge branch 'develop_of_consumption_selectbatch' of github.com:atm-lena/dolibarr into develop_of_consumption_selectbatch
This commit is contained in:
commit
ed2ff38318
@ -184,7 +184,6 @@ if (empty($reshook)) {
|
|||||||
$pos = 0;
|
$pos = 0;
|
||||||
// Process line to consume
|
// Process line to consume
|
||||||
foreach ($object->lines as $line) {
|
foreach ($object->lines as $line) {
|
||||||
|
|
||||||
if ($line->role == 'toconsume') {
|
if ($line->role == 'toconsume') {
|
||||||
$tmpproduct = new Product($db);
|
$tmpproduct = new Product($db);
|
||||||
$tmpproduct->fetch($line->fk_product);
|
$tmpproduct->fetch($line->fk_product);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user