Fix : menu for product batch

This commit is contained in:
Maxime Kohlhaas 2015-04-18 01:39:41 +02:00
parent 73a66f789c
commit 8db50e4606

View File

@ -1059,7 +1059,7 @@ function print_left_eldy_menu($db,$menu_array_before,$menu_array_after,&$tabMenu
{
$newmenu->add("/product/reassort.php?type=0", $langs->trans("Stocks"), 1, $user->rights->produit->lire && $user->rights->stock->lire);
}
if (! empty($conf->stock->enabled))
if (! empty($conf->productbatch->enabled))
{
$langs->load("stocks");
$newmenu->add("/product/reassortlot.php?type=0", $langs->trans("StocksByLotSerial"), 1, $user->rights->produit->lire && $user->rights->stock->lire);