forked from Wavyzz/dolibarr
NEW decrease stock on expedition closing/classifying
This commit is contained in:
@@ -471,7 +471,7 @@ if ($resql)
|
||||
// stock order and stock order_supplier
|
||||
$stock_order=0;
|
||||
$stock_order_supplier=0;
|
||||
if (! empty($conf->global->STOCK_CALCULATE_ON_SHIPMENT)) // What about other options ?
|
||||
if (! empty($conf->global->STOCK_CALCULATE_ON_SHIPMENT) || ! empty($conf->global->STOCK_CALCULATE_ON_SHIPMENT_CLASSIFY_BILLED)) // What about other options ?
|
||||
{
|
||||
if (! empty($conf->commande->enabled))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user