diff --git a/billing/models.py b/billing/models.py index 1f5ccce..d936f57 100644 --- a/billing/models.py +++ b/billing/models.py @@ -217,6 +217,6 @@ def get_billing_accounts_suitable_for_booking(user, booking_end): q = BillingAccount.objects.filter( Q(owner=user) | Q(members=user, billingaccountmember__can_make_bookings=True), ~Q(approved_at=None), - ) + ).distinct() return q