diff --git a/htdocs/admin/stock.php b/htdocs/admin/stock.php
index f2fa67eba57..f1cbea504d3 100644
--- a/htdocs/admin/stock.php
+++ b/htdocs/admin/stock.php
@@ -461,6 +461,7 @@ print "\n";
print '';
+/*
print '
';
if ($conf->global->MAIN_FEATURES_LEVEL >= 2)
{
@@ -471,7 +472,7 @@ if ($conf->global->MAIN_FEATURES_LEVEL >= 2)
print ''."\n";
// Example with a yes / no select
- /*print '
';
+ print '
';
print '| '.$langs->trans("INVENTORY_DISABLE_VIRTUAL").' | ';
print '';
if ($conf->use_javascript_ajax) {
@@ -481,10 +482,10 @@ if ($conf->global->MAIN_FEATURES_LEVEL >= 2)
print $form->selectarray("INVENTORY_DISABLE_VIRTUAL", $arrval, $conf->global->INVENTORY_DISABLE_VIRTUAL);
}
print ' |
';
- */
+
// Example with a yes / no select
- /*print '';
+ print '
';
print '| '.$langs->trans("INVENTORY_USE_MIN_PA_IF_NO_LAST_PA").' | ';
print '';
if ($conf->use_javascript_ajax) {
@@ -494,7 +495,7 @@ if ($conf->global->MAIN_FEATURES_LEVEL >= 2)
print $form->selectarray("INVENTORY_USE_MIN_PA_IF_NO_LAST_PA", $arrval, $conf->global->INVENTORY_USE_MIN_PA_IF_NO_LAST_PA);
}
print ' |
';
- */
+
// Example with a yes / no select
print '';
@@ -507,8 +508,10 @@ if ($conf->global->MAIN_FEATURES_LEVEL >= 2)
print $form->selectarray("INVENTORY_USE_INVENTORY_DATE_FOR_DATE_OF_MVT", $arrval, $conf->global->INVENTORY_USE_INVENTORY_DATE_FOR_DATE_OF_MVT);
}
print '
';
+
print '';
}
+*/
/* I keep the option/feature, but hidden to end users for the moment. If feature is used by module, no need to have users see it.
If not used by a module, I still need to understand in which case user may need this now we can set rule on product page.