diff --git a/htdocs/includes/modules/modStock.class.php b/htdocs/includes/modules/modStock.class.php index ab6614a22f1..05bdf4e472e 100644 --- a/htdocs/includes/modules/modStock.class.php +++ b/htdocs/includes/modules/modStock.class.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2003-2005 Rodolphe Quiedeville * Copyright (C) 2004 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify @@ -54,7 +54,10 @@ class modStock extends DolibarrModules $this->family = "products"; $this->name = "Stock produits"; $this->description = "Gestion des stocks"; - $this->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version + + $this->revision = explode(" ","$Revision$"); + $this->version = $this->revision[1]; + $this->const_name = "MAIN_MODULE_STOCK"; $this->const_config = MAIN_MODULE_STOCK; $this->special = 0;