Merge branch 'bugfix' into 'master'

Small fix on accounting permissions

See merge request !87
This commit is contained in:
Skia 2017-06-26 11:23:07 +02:00
commit 3c22db5bd2

View File

@ -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})