mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 00:53:00 +01:00
Add TODO
This commit is contained in:
@@ -44,7 +44,7 @@ class modStock extends DolibarrModules
|
||||
*/
|
||||
public function __construct($db)
|
||||
{
|
||||
global $conf, $langs;
|
||||
global $langs;
|
||||
|
||||
$this->db = $db;
|
||||
$this->numero = 52;
|
||||
@@ -156,6 +156,17 @@ class modStock extends DolibarrModules
|
||||
$this->rights[$r][4] = 'mouvement';
|
||||
$this->rights[$r][5] = 'creer';
|
||||
|
||||
if (getDolGlobalInt('MAIN_FEATURES_LEVEL') >= 2) {
|
||||
// Not yet implemented. TODO
|
||||
$r++;
|
||||
$this->rights[$r][0] = 1008;
|
||||
$this->rights[$r][1] = 'Read stock value';
|
||||
$this->rights[$r][2] = 'w';
|
||||
$this->rights[$r][3] = 0;
|
||||
$this->rights[$r][4] = 'value_advance';
|
||||
$this->rights[$r][5] = 'read';
|
||||
}
|
||||
|
||||
$r++;
|
||||
$this->rights[$r][0] = 1011;
|
||||
$this->rights[$r][1] = 'inventoryReadPermission'; // Permission label
|
||||
|
||||
Reference in New Issue
Block a user