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

Fix permission on fiscal year

parent 46f2f154
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ $langs->load("compta");
// Security check
if ($user->societe_id > 0)
accessforbidden();
if (! $user->rights->mouvements->lire) // If we can read accounting records, we shoul be able to see fiscal year.
if (! $user->rights->accounting->fiscalyear) // If we can read accounting records, we shoul be able to see fiscal year.
accessforbidden();
$error = 0;
......
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