NEW - Add user right order generete doc

This commit is contained in:
Anthony Berton
2022-07-28 11:29:36 +02:00
parent 4cd85f3029
commit d8ae2361a9
4 changed files with 15 additions and 5 deletions

View File

@@ -139,9 +139,17 @@ class modCommande extends DolibarrModules
$this->rights[$r][4] = 'order_advance';
$this->rights[$r][5] = 'validate';
$r++;
$this->rights[$r][0] = 85;
$this->rights[$r][1] = 'Generate the documents sales orders';
$this->rights[$r][2] = 'd';
$this->rights[$r][3] = 0;
$this->rights[$r][4] = 'order_advance';
$this->rights[$r][5] = 'generetedoc';
$r++;
$this->rights[$r][0] = 86;
$this->rights[$r][1] = 'Send sale orders by email';
$this->rights[$r][1] = 'Send sales orders by email';
$this->rights[$r][2] = 'd';
$this->rights[$r][3] = 0;
$this->rights[$r][4] = 'order_advance';