mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Fix crash on addons without tax rule
PRETIXEU-2MZ
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user