Do not print canceled add-ons on orders

This commit is contained in:
Raphael Michel
2019-03-14 10:36:32 +01:00
parent 19ee8e9802
commit 8523f4dfa2

View File

@@ -192,6 +192,7 @@ DEFAULT_VARIABLES = OrderedDict((
op.addons.all() if 'addons' in getattr(op, '_prefetched_objects_cache', {})
else op.addons.select_related('item', 'variation')
)
if not p.canceled
])
}),
("organizer", {