diff --git a/counter/models.py b/counter/models.py index 38a1acfe..54846695 100644 --- a/counter/models.py +++ b/counter/models.py @@ -163,7 +163,7 @@ class Counter(models.Model): def can_be_viewed_by(self, user): if self.type == "BAR" or self.type == "EBOUTIC": return True - return user.is_in_group(settings.SITH_MAIN_BOARD_GROUP) or user in self.sellers + return user.is_in_group(settings.SITH_MAIN_BOARD_GROUP) or user in self.sellers.all() def gen_token(self): """Generate a new token for this counter"""