mirror of
https://github.com/ae-utbm/sith.git
synced 2026-02-09 00:51:29 +00:00
explanation message when eboutic bank payments are disabled
This commit is contained in:
@@ -447,8 +447,7 @@ class Product(models.Model):
|
||||
buying_groups = list(self.buying_groups.all())
|
||||
if not buying_groups:
|
||||
return True
|
||||
res = any(user.is_in_group(pk=group.id) for group in buying_groups)
|
||||
return res
|
||||
return any(user.is_in_group(pk=group.id) for group in buying_groups)
|
||||
|
||||
@property
|
||||
def profit(self):
|
||||
|
||||
Reference in New Issue
Block a user