From b8d2372cf6d1e89ff9cb5f782b52bf78a398c3a4 Mon Sep 17 00:00:00 2001 From: Mira Weller Date: Thu, 18 Jul 2024 11:21:01 +0200 Subject: [PATCH] store apply_discounts result for use in test cases --- src/pretix/base/services/cross_selling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/base/services/cross_selling.py b/src/pretix/base/services/cross_selling.py index 867e006991..e36db7844a 100644 --- a/src/pretix/base/services/cross_selling.py +++ b/src/pretix/base/services/cross_selling.py @@ -88,7 +88,7 @@ class CrossSellingService: potential_discounts_by_cartpos = defaultdict(list) from ..services.pricing import apply_discounts - apply_discounts( + self._discounted_prices = apply_discounts( self.event, self.sales_channel, [