diff --git a/htdocs/mrp/mo_production.php b/htdocs/mrp/mo_production.php index 97246d120c8..60e05f90da1 100644 --- a/htdocs/mrp/mo_production.php +++ b/htdocs/mrp/mo_production.php @@ -880,7 +880,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea print ''; if ($conf->stock->enabled) { print ''; - if ($tmpproduct->stock_reel < ($line->qty-$alreadyconsumed)) { + if ($tmpproduct->stock_reel < ($line->qty - $alreadyconsumed)) { print img_warning($langs->trans('StockTooLow')).' '; } print $tmpproduct->stock_reel; // Available