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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user