Skip to content
Snippets Groups Projects
Commit bd69830c authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #3803 from atm-robin/3.7_fix_supplier_rights

FIX supplier rights for orderToInvoice
parents d192ed96 29b8919a
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ $langs->load('orders');
$langs->load('deliveries');
$langs->load('companies');
if (! $user->rights->facture->creer)
if (! $user->rights->fournisseur->facture->creer)
accessforbidden();
$id = (GETPOST('id') ? GETPOST('id', 'int') : GETPOST("facid")); // For backward compatibility
......
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