mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-26 02:54:20 +00:00
Small fix on accounting permissions
This commit is contained in:
parent
71f9e359c0
commit
f8e0147bf5
@ -225,7 +225,7 @@ class GeneralJournal(models.Model):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def can_be_viewed_by(self, user):
|
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):
|
def get_absolute_url(self):
|
||||||
return reverse('accounting:journal_details', kwargs={'j_id': self.id})
|
return reverse('accounting:journal_details', kwargs={'j_id': self.id})
|
||||||
|
Loading…
Reference in New Issue
Block a user