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
3c22db5b
Commit
3c22db5b
authored
Jun 26, 2017
by
Skia
🤘
Browse files
Merge branch 'bugfix' into 'master'
Small fix on accounting permissions See merge request
!87
parents
71f9e359
f8e0147b
Pipeline
#1083
passed with stage
in 4 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
accounting/models.py
View file @
3c22db5b
...
...
@@ -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