Skip to content

Commit

Permalink
Merge pull request #3803 from atm-robin/3.7_fix_supplier_rights
Browse files Browse the repository at this point in the history
FIX supplier rights for orderToInvoice
  • Loading branch information
eldy committed Oct 26, 2015
2 parents d192ed9 + 29b8919 commit bd69830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/fourn/commande/orderstoinvoice.php
Expand Up @@ -44,7 +44,7 @@
$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
Expand Down

0 comments on commit bd69830

Please sign in to comment.