Fix error message

This commit is contained in:
Laurent Destailleur 2017-12-02 15:56:56 +01:00
parent 5d7214c4e8
commit 0a6633da6e

View File

@ -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');
}
}
}