FIX supplier rights for orderToInvoice
This commit is contained in:
parent
d192ed9676
commit
29b8919a40
@ -44,7 +44,7 @@ $langs->load('orders');
|
|||||||
$langs->load('deliveries');
|
$langs->load('deliveries');
|
||||||
$langs->load('companies');
|
$langs->load('companies');
|
||||||
|
|
||||||
if (! $user->rights->facture->creer)
|
if (! $user->rights->fournisseur->facture->creer)
|
||||||
accessforbidden();
|
accessforbidden();
|
||||||
|
|
||||||
$id = (GETPOST('id') ? GETPOST('id', 'int') : GETPOST("facid")); // For backward compatibility
|
$id = (GETPOST('id') ? GETPOST('id', 'int') : GETPOST("facid")); // For backward compatibility
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user