Merge pull request #14206 from atm-josselin/NEW_show_label_on_batch_card

NEW Show label on batch card
This commit is contained in:
Laurent Destailleur 2020-07-19 02:03:46 +02:00 committed by GitHub
commit e17fbf9dcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -323,7 +323,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
print '<tr><td class="titlefield">'.$langs->trans("Product").'</td><td>';
$producttmp = new Product($db);
$producttmp->fetch($object->fk_product);
print $producttmp->getNomUrl(1, 'stock');
print $producttmp->getNomUrl(1, 'stock'). " - " . $producttmp->label;
print '</td></tr>';
// Eat by