mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Vouchers: Allow to set all addons or bundles as included (#3322)
Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
@@ -1892,7 +1892,7 @@ class OrderChangeManager:
|
||||
input_addons[op.id][a['item'], a['variation']] = a.get('count', 1)
|
||||
selected_addons[op.id, item.category_id][a['item'], a['variation']] = a.get('count', 1)
|
||||
|
||||
if price_included[op.pk].get(item.category_id):
|
||||
if price_included[op.pk].get(item.category_id) or (op.voucher_id and op.voucher.all_addons_included):
|
||||
price = TAXED_ZERO
|
||||
else:
|
||||
price = get_price(
|
||||
|
||||
Reference in New Issue
Block a user