Dplacement des codes barres dans les "modules autres" pour le rendre plus gnrique et plus ddi au produits

This commit is contained in:
Regis Houssin 2007-09-28 14:23:08 +00:00
parent 1c0df71803
commit da93a5d47b
3 changed files with 7 additions and 19 deletions

View File

@ -23,7 +23,7 @@
/** /**
\defgroup barcode Module code barre \defgroup barcode Module code barre
\brief Module pour gérer les codes barres des produits \brief Module pour gérer les codes barres
*/ */
/** /**
@ -52,16 +52,12 @@ class modBarcode extends DolibarrModules
$this->id = 'barcode'; // Same value xxx than in file modXxx.class.php file $this->id = 'barcode'; // Same value xxx than in file modXxx.class.php file
$this->numero = 55 ; $this->numero = 55 ;
$this->family = "products"; $this->family = "other";
$this->name = "Codes barres"; $this->name = "Codes barres";
$this->description = "Gestion des codes barres des produits"; $this->description = "Gestion des codes barres";
//$this->revision = explode(' ','$Revision$');
//$this->version = $this->revision[1];
$this->version = 'development'; // 'development' or 'experimental' or 'dolibarr' or version $this->version = 'development'; // 'development' or 'experimental' or 'dolibarr' or version
$this->const_name = 'MAIN_MODULE_BARCODE'; $this->const_name = 'MAIN_MODULE_BARCODE';
$this->special = 0; $this->special = 2;
$this->picto='barcode'; $this->picto='barcode';
// Dir // Dir
@ -69,7 +65,7 @@ class modBarcode extends DolibarrModules
// Dépendances // Dépendances
$this->depends = array("modProduit"); $this->depends = array("modProduit");
$this->requiredby = array(); $this->requiredby = array();
// Config pages // Config pages
$this->config_page_url = array("barcode.php"); $this->config_page_url = array("barcode.php");
@ -77,16 +73,8 @@ class modBarcode extends DolibarrModules
// Constantes // Constantes
$this->const = array(); $this->const = array();
$this->const[0][0] = "BARCODE_ENCODE_TYPE";
$this->const[0][1] = "chaine";
$this->const[0][2] = "EAN13";
// Boxes // Boxes
$this->boxes = array(); $this->boxes = array();
// $this->boxes[0][0] = "Derniers produits/services enregistrés";
// $this->boxes[0][1] = "box_produits.php";
// $this->boxes[1][0] = "Derniers produits/services vendus";
// $this->boxes[1][1] = "box_services_vendus.php";
// Permissions // Permissions
$this->rights = array(); $this->rights = array();

View File

@ -175,7 +175,7 @@ Module53Desc=Services' management
Module54Name=Contracts Module54Name=Contracts
Module54Desc=Contracts' management Module54Desc=Contracts' management
Module55Name=Barcodes Module55Name=Barcodes
Module55Desc=Products' barcode management Module55Desc=Barcodes' management
Module56Name=Telephony Module56Name=Telephony
Module56Desc=Telephony integration Module56Desc=Telephony integration
Module57Name=Standing orders Module57Name=Standing orders

View File

@ -175,7 +175,7 @@ Module53Desc=Gestion des services
Module54Name=Contrats Module54Name=Contrats
Module54Desc=Gestion des contrats Module54Desc=Gestion des contrats
Module55Name=Codes barres Module55Name=Codes barres
Module55Desc=Gestion du code barre des produits Module55Desc=Gestion des codes barres
Module56Name=Téléphonie Module56Name=Téléphonie
Module56Desc=Gestion de la téléphonie Module56Desc=Gestion de la téléphonie
Module57Name=Prélèvements Module57Name=Prélèvements