diff --git a/htdocs/fourn/product/pre.inc.php b/htdocs/fourn/product/pre.inc.php index ee7f13088a2..dccfa519c9e 100644 --- a/htdocs/fourn/product/pre.inc.php +++ b/htdocs/fourn/product/pre.inc.php @@ -72,6 +72,11 @@ function llxHeader($head = "", $title="", $help_url='',$addons='') { $menu->add(DOL_URL_ROOT."/fourn/product/", $langs->trans("Products")); $menu->add_submenu(DOL_URL_ROOT."/fourn/product/liste.php?type=0", $langs->trans("List")); + + if ($user->societe_id == 0 && $user->rights->produit->creer) + { + $menu->add_submenu(DOL_URL_ROOT."/fourn/product/fiche.php?action=create&type=0", $langs->trans("NewProduct")); + } } if ($conf->categorie->enabled)