Merge pull request #22268 from atm-gauthier/FIX/input_hidden_with_fk_product_of_line_on_mo_production
FIX : input hidden with fk_product of line on mo production can be usefull
This commit is contained in:
commit
22a0f69cf6
@ -1007,6 +1007,9 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
|
||||
$disable = 'disabled';
|
||||
}
|
||||
|
||||
// input hidden with fk_product of line
|
||||
print '<input type="hidden" name="product-'.$line->id.'-'.$i.'" value="'.$line->fk_product.'">';
|
||||
|
||||
// Qty
|
||||
print '<td class="right"><input type="text" class="width50 right" id="qtytoconsume-'.$line->id.'-'.$i.'" name="qty-'.$line->id.'-'.$i.'" value="'.$preselected.'" '.$disable.'></td>';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user