mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-12 13:46:05 +00:00
Small fix on accounting permissions
This commit is contained in:
1 parent
71f9e359c0
commit
f8e0147bf5
1 file changed
+1
-1
@@ -225,7 +225,7 @@ class GeneralJournal(models.Model):
|
||||
return False
|
||||
|
||||
def can_be_viewed_by(self, user):
|
||||
return self.club_account.can_be_edited_by(user)
|
||||
return self.club_account.can_be_viewed_by(user)
|
||||
|
||||
def get_absolute_url(self):
|
||||
return reverse('accounting:journal_details', kwargs={'j_id': self.id})
|
||||
|
||||
Reference in new issue
Block a user