Enabling StockAtDate menu

This commit is contained in:
Romain DESCHAMPS 2020-12-07 09:52:25 +01:00 committed by GitHub
parent abadd2b803
commit ccf95542f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1592,7 +1592,7 @@ function print_left_eldy_menu($db, $menu_array_before, $menu_array_after, &$tabM
if ($conf->supplier_order->enabled) {
$newmenu->add("/product/stock/replenish.php", $langs->trans("Replenishment"), 1, $user->rights->stock->mouvement->creer && $user->rights->fournisseur->lire);
}
$newmenu->add("/product/stock/stockatdate.php", $langs->trans("StockAtDate"), 1, $user->rights->produit->lire && $user->rights->stock->lire && $conf->global->MAIN_FEATURES_LEVEL >= 2);
$newmenu->add("/product/stock/stockatdate.php", $langs->trans("StockAtDate"), 1, $user->rights->produit->lire && $user->rights->stock->lire);
// Categories for warehouses
if (!empty($conf->categorie->enabled)) {