Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AE UTBM
Sith
Commits
f8e0147b
Commit
f8e0147b
authored
Jun 26, 2017
by
Krophil
Browse files
Small fix on accounting permissions
parent
71f9e359
Pipeline
#1082
passed with stage
in 4 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
accounting/models.py
View file @
f8e0147b
...
...
@@ -225,7 +225,7 @@ class GeneralJournal(models.Model):
return
False
def
can_be_viewed_by
(
self
,
user
):
return
self
.
club_account
.
can_be_
edit
ed_by
(
user
)
return
self
.
club_account
.
can_be_
view
ed_by
(
user
)
def
get_absolute_url
(
self
):
return
reverse
(
'accounting:journal_details'
,
kwargs
=
{
'j_id'
:
self
.
id
})
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment