Expedition module depends on Order module

This commit is contained in:
Laurent Destailleur 2008-11-27 21:53:08 +00:00
parent 25e3109d91
commit ad0bf56b7d
2 changed files with 9 additions and 12 deletions

View File

@ -1,6 +1,6 @@
<?php <?php
/* Copyright (C) 2003-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2003-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org> * Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be> * Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com> * Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
@ -68,7 +68,7 @@ class modCommande extends DolibarrModules
// D<>pendances // D<>pendances
$this->depends = array("modCommercial"); $this->depends = array("modCommercial");
$this->requiredby = array(); $this->requiredby = array("modExpedition");
$this->conflictwith = array(); $this->conflictwith = array();
$this->langfiles = array("orders","bills","companies"); $this->langfiles = array("orders","bills","companies");

View File

@ -15,28 +15,25 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
*/ */
/** /**
\defgroup expedition Module expedition * \defgroup expedition Module expedition
\brief Module pour gerer les expeditions de produits * \brief Module pour gerer les expeditions de produits
*/ */
/** /**
\file htdocs/includes/modules/modExpedition.class.php * \file htdocs/includes/modules/modExpedition.class.php
\ingroup expedition * \ingroup expedition
\brief Fichier de description et activation du module Expedition * \brief Fichier de description et activation du module Expedition
*/ */
include_once(DOL_DOCUMENT_ROOT ."/includes/modules/DolibarrModules.class.php"); include_once(DOL_DOCUMENT_ROOT ."/includes/modules/DolibarrModules.class.php");
/** \class modExpedition /** \class modExpedition
\brief Classe de description et activation du module Expedition * \brief Classe de description et activation du module Expedition
*/ */
class modExpedition extends DolibarrModules class modExpedition extends DolibarrModules
{ {
@ -66,7 +63,7 @@ class modExpedition extends DolibarrModules
$this->config_page_url = array("confexped.php"); $this->config_page_url = array("confexped.php");
// Dependances // Dependances
$this->depends = array("modPropale"); $this->depends = array("modCommande");
$this->requiredby = array(); $this->requiredby = array();
// Constantes // Constantes