mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Merge pull request #26967 from DaBootO/develop
FIX #26965 add check for global variable VARIANT_ALLOW_STOCK_MOVEMEMENT
This commit is contained in:
commit
b56688706b
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user