From e7740b17357f55238e597e95b98a453b751f7c76 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 17 Aug 2020 09:39:59 +0200 Subject: [PATCH] Fix crash on addons without tax rule PRETIXEU-2MZ --- src/pretix/presale/checkoutflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/presale/checkoutflow.py b/src/pretix/presale/checkoutflow.py index 00cef0c08a..e6108e4d99 100644 --- a/src/pretix/presale/checkoutflow.py +++ b/src/pretix/presale/checkoutflow.py @@ -285,7 +285,7 @@ class AddOnsStep(CartMixin, AsyncAction, TemplateFlowStep): net=a.price - a.tax_value, gross=a.price, tax=a.tax_value, - name=a.item.tax_rule.name, + name=a.item.tax_rule.name if a.item.tax_rule else "", rate=a.tax_rate, ) else: