NEW decrease stock on expedition closing/classifying

This commit is contained in:
Alexis Algoud
2016-04-25 18:33:39 +02:00
parent f96f8eac85
commit b472a244db
7 changed files with 112 additions and 5 deletions

View File

@@ -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))
{