forked from CGM_Public/pretix_original
Add-ons should not have a seat
This commit is contained in:
@@ -618,7 +618,7 @@ class CartManager:
|
|||||||
|
|
||||||
op = self.AddOperation(
|
op = self.AddOperation(
|
||||||
count=1, item=item, variation=variation, price=price, voucher=None, quotas=quotas,
|
count=1, item=item, variation=variation, price=price, voucher=None, quotas=quotas,
|
||||||
addon_to=cp, subevent=cp.subevent, includes_tax=bool(price.rate), bundled=[], seat=cp.seat
|
addon_to=cp, subevent=cp.subevent, includes_tax=bool(price.rate), bundled=[], seat=None
|
||||||
)
|
)
|
||||||
self._check_item_constraints(op)
|
self._check_item_constraints(op)
|
||||||
operations.append(op)
|
operations.append(op)
|
||||||
|
|||||||
Reference in New Issue
Block a user