diff --git a/htdocs/product/stock/massstockmove.php b/htdocs/product/stock/massstockmove.php index cd1f118fcd4..e6a2b59e700 100644 --- a/htdocs/product/stock/massstockmove.php +++ b/htdocs/product/stock/massstockmove.php @@ -113,7 +113,8 @@ if ($action == 'addline') if (empty($batch)) { $error++; - setEventMessages($langs->trans("ErrorTryToMakeMoveOnProductRequiringBatchData"), null, 'errors'); + $langs->load("errors"); + setEventMessages($langs->trans("ErrorTryToMakeMoveOnProductRequiringBatchData", $producttmp->ref), null, 'errors'); } } }