diff --git a/htdocs/mrp/mo_production.php b/htdocs/mrp/mo_production.php
index 678865805d7..458bcfca7ba 100644
--- a/htdocs/mrp/mo_production.php
+++ b/htdocs/mrp/mo_production.php
@@ -721,6 +721,12 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
print $langs->trans("Warehouse");
}
print '';
+ // Available
+ print '
';
+ if ($collapse || in_array($action, array('consumeorproduce', 'consumeandproduceall'))) {
+ print $langs->trans("Available");
+ }
+ print ' | ';
// Lot - serial
if ($conf->productbatch->enabled) {
print '';
@@ -864,6 +870,12 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
print ' | ';
print ''; // Warehouse
print ' | ';
+ print '';
+ if ($tmpproduct->stock_reel < ($line->qty-$alreadyconsumed)) {
+ print img_warning($langs->trans('StockTooLow')).' ';
+ }
+ print $tmpproduct->stock_reel; // Available
+ print ' | ';
if ($conf->productbatch->enabled) {
print ' | '; // Lot
}