2
0
forked from Wavyzz/dolibarr

Merge pull request #26967 from DaBootO/develop

FIX #26965 add check for global variable VARIANT_ALLOW_STOCK_MOVEMEMENT
This commit is contained in:
Laurent Destailleur
2023-12-06 16:02:07 +01:00
committed by GitHub

View File

@@ -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.
*/