Skip to content

Commit

Permalink
Fix #yogosha22394
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jun 2, 2024
1 parent a8872ea commit 8d85a72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/reception/list.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
$uploaddir = $conf->reception->multidir_output[$conf->entity];
include DOL_DOCUMENT_ROOT.'/core/actions_massactions.inc.php';

if ($massaction == 'confirm_createbills') {
if ($massaction == 'confirm_createbills' && ($user->hasRight("fournisseur", "facture", "creer") || $user->hasRight("supplier_invoice", "creer"))) {
$receptions = GETPOST('toselect', 'array');
$createbills_onebythird = GETPOSTINT('createbills_onebythird');
$validate_invoices = GETPOSTINT('validate_invoices');
Expand Down

0 comments on commit 8d85a72

Please sign in to comment.