diff --git a/htdocs/core/modules/modIncoterm.class.php b/htdocs/core/modules/modIncoterm.class.php index a6340bd4f9c..2ae30951c8c 100644 --- a/htdocs/core/modules/modIncoterm.class.php +++ b/htdocs/core/modules/modIncoterm.class.php @@ -46,7 +46,7 @@ class modIncoterm extends DolibarrModules // Id for module (must be unique). // Use here a free id (See in Home -> System information -> Dolibarr for list of used modules id). - $this->numero = 210009; + $this->numero = 62000; // Key text used to identify module (for permissions, menus, etc...) $this->rights_class = 'incoterm'; diff --git a/htdocs/core/modules/modPrinting.class.php b/htdocs/core/modules/modPrinting.class.php index 91839139f41..e288bd83e4d 100644 --- a/htdocs/core/modules/modPrinting.class.php +++ b/htdocs/core/modules/modPrinting.class.php @@ -44,7 +44,7 @@ class modPrinting extends DolibarrModules function __construct($db) { $this->db = $db ; - $this->numero = 112000; + $this->numero = 64000; // Family can be 'crm','financial','hr','projects','products','ecm','technic','other' // It is used to group modules in module setup page $this->family = "other"; @@ -94,7 +94,7 @@ class modPrinting extends DolibarrModules // $this->rights[$r][5] Niveau 2 pour nommer permission dans code $r++; - $this->rights[$r][0] = 112001; + $this->rights[$r][0] = 64001; $this->rights[$r][1] = 'Printing'; $this->rights[$r][2] = 'r'; $this->rights[$r][3] = 1; diff --git a/htdocs/core/modules/modResource.class.php b/htdocs/core/modules/modResource.class.php index da1f807ecac..aa97f5608df 100644 --- a/htdocs/core/modules/modResource.class.php +++ b/htdocs/core/modules/modResource.class.php @@ -45,7 +45,7 @@ class modResource extends DolibarrModules // Id for module (must be unique). // Use a free id here // (See in Home -> System information -> Dolibarr for list of used modules id). - $this->numero = 110111; + $this->numero = 63000; // Key text used to identify module (for permissions, menus, etc...) $this->rights_class = 'resource'; @@ -114,7 +114,7 @@ class modResource extends DolibarrModules $this->requiredby = array('modPlace'); // Minimum version of PHP required by module $this->phpmin = array(5, 3); - + $this->langfiles = array("resource@resource"); // langfiles@resource // Constants // List of particular constants to add when module is enabled @@ -172,25 +172,25 @@ class modResource extends DolibarrModules $this->rights = array(); // Permission array used by this module $r = 0; - $this->rights[$r][0] = 1101201; - $this->rights[$r][1] = 'See resources'; + $this->rights[$r][0] = 63001; + $this->rights[$r][1] = 'Read resources'; $this->rights[$r][3] = 0; $this->rights[$r][4] = 'read'; $r++; - $this->rights[$r][0] = 1101202; - $this->rights[$r][1] = 'Modify resources'; + $this->rights[$r][0] = 63002; + $this->rights[$r][1] = 'Create/Modify resources'; $this->rights[$r][3] = 0; $this->rights[$r][4] = 'write'; $r++; - $this->rights[$r][0] = 1101203; + $this->rights[$r][0] = 63003; $this->rights[$r][1] = 'Delete resources'; $this->rights[$r][3] = 0; $this->rights[$r][4] = 'delete'; $r++; - $this->rights[$r][0] = 1101204; + $this->rights[$r][0] = 63004; $this->rights[$r][1] = 'Link resources'; $this->rights[$r][3] = 0; $this->rights[$r][4] = 'link'; diff --git a/htdocs/langs/en_US/incoterm.lang b/htdocs/langs/en_US/incoterm.lang index 0a3f3c677d8..4fce5519c3a 100644 --- a/htdocs/langs/en_US/incoterm.lang +++ b/htdocs/langs/en_US/incoterm.lang @@ -1,5 +1,5 @@ -Module210009Name=Incoterm -Module210009Desc=Add features to manage Incoterm +Module62000Name=Incoterm +Module62000Desc=Add features to manage Incoterm IncotermLabel=Incoterms IncotermSetupTitle1=Feature IncotermSetupTitle2=Status diff --git a/htdocs/langs/en_US/printing.lang b/htdocs/langs/en_US/printing.lang index d86e998cf50..b4956e59c01 100644 --- a/htdocs/langs/en_US/printing.lang +++ b/htdocs/langs/en_US/printing.lang @@ -1,6 +1,6 @@ # Dolibarr language file - Source file is en_US - printing -Module112000Name=Direct Printing -Module112000Desc=Enable Direct Printing System +Module64000Name=Direct Printing +Module64000Desc=Enable Direct Printing System PrintingSetup=Setup of Direct Printing System PrintingDesc=This module adds a Print button to send documents directly to a printer (without opening document into an application) with various module. ModuleDriverSetup=Setup Module Driver