explanation message when eboutic bank payments are disabled

This commit is contained in:
imperosol
2026-02-08 16:19:57 +01:00
parent de776045a8
commit df2e65a991
4 changed files with 27 additions and 9 deletions

View File

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