diff --git a/htdocs/product/stock/product.php b/htdocs/product/stock/product.php index bd1897c47b8..c5792768256 100644 --- a/htdocs/product/stock/product.php +++ b/htdocs/product/stock/product.php @@ -959,7 +959,7 @@ if (empty($reshook)) { } -if (!$variants) { +if (!$variants || getDolGlobalString('VARIANT_ALLOW_STOCK_MOVEMENT_ON_VARIANT_PARENT')) { /* * Stock detail (by warehouse). May go down into batch details. */