Skip to content
Browse files

Fix: Missing include

  • Loading branch information...
1 parent 59e43b2 commit 9f65a33f04cc9ea2d57b30cea19ef9feb47a5976 @eldy eldy committed May 17, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 htdocs/commande/commande.class.php
View
2 htdocs/commande/commande.class.php
@@ -475,6 +475,8 @@ function cancel($user)
// If stock is decremented on validate order, we must reincrement it
if($conf->stock->enabled && $conf->global->STOCK_CALCULATE_ON_VALIDATE_ORDER == 1)
{
+ require_once(DOL_DOCUMENT_ROOT."/product/stock/mouvementstock.class.php");
+
$mouvP = new MouvementStock($this->db);
// We increment stock of product (and sub-products)
$entrepot_id = "1"; //Todo: ajouter possibilite de choisir l'entrepot

0 comments on commit 9f65a33

Please sign in to comment.
Something went wrong with that request. Please try again.