Skip to content
Snippets Groups Projects
Commit 29b8919a authored by atm-robin's avatar atm-robin
Browse files

FIX supplier rights for orderToInvoice

parent d192ed96
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