Module Stock (developer): Difference between revisions

m
Line 24: Line 24:
== Expéditions ==
== Expéditions ==


La modification du stock sur expédition se fait dans le script htdocs/expedition/commandes.php et utilise la classe expedition.class.php (méthode ''valid()''). La vérification avant modification du stock se fait comme suit:
Changing the expedition stock is in the script htdocs / shipping / commandes.php and uses expedition.class.php class (Method '' valid () ''). The verification before modification of the stock is as follows:


   if ($conf->stock->enabled && $this->entrepot_id && $conf->global->STOCK_CALCULATE_ON_SHIPMENT == 1)
   if ($conf->stock->enabled && $this->entrepot_id && $conf->global->STOCK_CALCULATE_ON_SHIPMENT == 1)
304

edits