From f8e0147bf514d3263ac8085069b1ee4bd1cef7af Mon Sep 17 00:00:00 2001 From: Krophil Date: Mon, 26 Jun 2017 11:16:47 +0200 Subject: [PATCH] Small fix on accounting permissions --- accounting/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounting/models.py b/accounting/models.py index 97258270..23174837 100644 --- a/accounting/models.py +++ b/accounting/models.py @@ -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})