Skip to content
Snippets Groups Projects
Commit 08e34c2d authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: manquait le droit de supprimer

parent c133f0fd
No related branches found
No related tags found
No related merge requests found
......@@ -199,14 +199,22 @@ class modFournisseur extends DolibarrModules
$this->rights[$r][3] = 0;
$this->rights[$r][4] = 'facture';
$this->rights[$r][5] = 'valider';
$r++;
$this->rights[$r][0] = 234;
$this->rights[$r][1] = 'Supprimer une facture fournisseur';
$this->rights[$r][2] = 's';
$this->rights[$r][3] = 0;
$this->rights[$r][4] = 'facture';
$this->rights[$r][5] = 'supprimer';
$r++;
$this->rights[$r][0] = 236;
$this->rights[$r][1] = 'Exporter les factures fournisseurs et attributs';
$this->rights[$r][2] = 'r';
$this->rights[$r][3] = 0;
$this->rights[$r][4] = 'facture';
$this->rights[$r][5] = 'export';
$r++;
$this->rights[$r][0] = 236;
$this->rights[$r][1] = 'Exporter les factures fournisseurs et attributs';
$this->rights[$r][2] = 'r';
$this->rights[$r][3] = 0;
$this->rights[$r][4] = 'facture';
$this->rights[$r][5] = 'export';
// Exports
......
......@@ -216,7 +216,9 @@ Permission223=Validate emailings (allows sending)
Permission229=Delete emailings
Permission231=Read supplier invoices
Permission232=Create/modify supplier invoices
Permission233=Delete supplier invoices
Permission233=Validate supplier invoices
Permission234=Delete supplier invoices
Permission236=Export supplier invoices
Permission241=Read categories
Permission242=Create/modify categories
Permission243=Delete categories
......
......@@ -216,7 +216,9 @@ Permission223=Valider les mailings (permet leur envoi)
Permission229=Supprimer les mailings
Permission231=Consulter les factures fournisseurs
Permission232=Créer/modifier les facture fournisseurs
Permission233=Supprimer les factures fournisseurs
Permission233=Valider les factures fournisseurs
Permission234=Supprimer les factures fournisseurs
Permission236=Exporter les factures fournisseurs et attributs
Permission241=Lire les catégories
Permission242=Créer/modifier les catégories
Permission243=Supprimer les catégories
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment