From 9f65a33f04cc9ea2d57b30cea19ef9feb47a5976 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 17 May 2010 00:21:29 +0000 Subject: [PATCH] Fix: Missing include --- htdocs/commande/commande.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/commande/commande.class.php b/htdocs/commande/commande.class.php index ee623a7d3fc..34895cfc323 100644 --- a/htdocs/commande/commande.class.php +++ b/htdocs/commande/commande.class.php @@ -475,6 +475,8 @@ class Commande extends CommonObject // 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